'(defrule [<module-name>::]<symbol-name>'+sLineBreak+' [<string-comment>]'+sLineBreak+' [(declare [(auto-focus <boolean-expression>])|'+sLineBreak+' [(salience <integer-expression>)]|'+sLineBreak+' [(oneshot <boolean-expression>])|'+sLineBreak+' [(enabled <boolean-expression>])]'+sLineBreak+' <conditional-element>*'+sLineBreak+' =>'+sLineBreak+' <action>*)'+sLineBreak+''+sLineBreak+'<conditional-element> = <pattern> | ?<variable-name> <- <pattern> |'+sLineBreak+' (test <function-call>) |'+sLineBreak+' (not <conditional-element>) |'+sLineBreak+' (unique <conditional-element>) |'+sLineBreak+' (explicit <conditional-element>) |'+sLineBreak+' (exists <conditional-element>+)'+sLineBreak+'<pattern> = (<template-name> <slot>*)'+sLineBreak+'<slot> = (<slot-name> <constraint>*)'+sLineBreak+'<constraint> = ? | $? | <connected-constraint>'+sLineBreak+'<connected-constraint> = <single-constraint> | <<single-constraint>&<connected-constraint>> |'+sLineBreak+' <<single-constraint>|<connected-constraint>>'+sLineBreak+'<single-constraint> = <constant> | <variable> | :<function-call> | =<function-call> |'+sLineBreak+' ~<constant> | ~<variable> | ~:<function-call> | ~=<function-call>'+sLineBreak+'<action> = <constant>|<variable>|<function-call>'+sLineBreak+':: = Module separator. Module name is optional. If not specified, a rule belongs to the currently active module'
Namespace: IEClipsParser
Delphi |
SRuleSyntax = |
Value
Type: string
Reference |