Package kawa.lang
Class SyntaxTemplate
java.lang.Object
kawa.lang.SyntaxTemplate
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
SyntaxRule
The translated form of a
(syntax template).- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSyntaxTemplate(Object template, SyntaxForm syntax, Object ellipsis, Translator tr) SyntaxTemplate(String patternNesting, String template_program, Object[] literal_values, int max_nesting) -
Method Summary
Modifier and TypeMethodDescriptionexecute(Object[] vars, TemplateScope templateScope) Expand this template The compiler translates(syntax template)to a call to this method.execute(Object[] vars, Translator tr) voidvoid
-
Field Details
-
dots3Symbol
-
-
Constructor Details
-
SyntaxTemplate
protected SyntaxTemplate() -
SyntaxTemplate
-
SyntaxTemplate
-
-
Method Details
-
execute
Expand this template The compiler translates(syntax template)to a call to this method. -
execute
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-