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
ConstructorsModifierConstructorDescriptionprotected
SyntaxTemplate
(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) void
void
-
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:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-