UNPKG

1.16 kBJavaScriptView Raw
1/*
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14'use strict';
15
16const TemplateInstance = require('./templateinstance.js');
17/**
18 * A Clause is executable business logic, linked to a natural language (legally enforceable) template.
19 * A Clause must be constructed with a template and then prior to execution the data for the clause must be set.
20 * Set the data for the clause (an instance of the template model) by either calling the setData method or by
21 * calling the parse method and passing in natural language text that conforms to the template grammar.
22 * @public
23 * @class
24 */
25
26
27class Clause extends TemplateInstance {}
28
29module.exports = Clause;
\No newline at end of file