'(deftemplate [<module-name>::]<symbol-name> '+sLineBreak+' [<string-comment>] '+sLineBreak+' <slot-definition>*)'+sLineBreak+''+sLineBreak+'<slot-definition> = (slot|field <symbol-name> <slot-attribute>*) | (multislot <symbol-name> <slot-attribute>*)'+sLineBreak+'<slot-attribute> = (default ?DERIVE|?NONE|<constant>|<variable>|<function-call>)'+sLineBreak+' (default-dynamic <value-expression>) |'+sLineBreak+' (type SYMBOL | ATOM | STRING | INTEGER | FLOAT |'+sLineBreak+' LEXEME | NUMBER | CLASS | DESCRIPTOR | OBJECT |'+sLineBreak+' EXTERNALADDRESS | FUZZY | FACT | FACTID |'+sLineBreak+' ?VARIABLE | <deftype-name-expression>) |'+sLineBreak+' (range ?VARIABLE|<numeric-expression> ?VARIABLE|<numeric-expression>)|'+sLineBreak+' (cardinality ?VARIABLE|<integer-expression> ?VARIABLE|<integer-expression>)|'+sLineBreak+' (allowed-values <expression>+)|'+sLineBreak+' (allowed-lexemes <lexeme-expression>+) |'+sLineBreak+' (allowed-strings <string-expression>+) |'+sLineBreak+' (allowed-symbols <symbol-expression>+) |'+sLineBreak+' (allowed-numbers <numeric-expression>+) |'+sLineBreak+' (allowed-integers <integer-expression>+) |'+sLineBreak+' (allowed-floats <float-expression>+) |'+sLineBreak+' (units <string-expression>)'+sLineBreak+':: = Module separator. Module name is optional. If not specified, a rule belongs to the currently active module'
Namespace: IEClipsParser
Delphi |
SFactTemplateSyntax = |
Value
Type: string
Reference |