org.teatrove.tea.parsetree
Class TemplateCallExpression
java.lang.Object
org.teatrove.tea.parsetree.Node
org.teatrove.tea.parsetree.Expression
org.teatrove.tea.parsetree.CallExpression
org.teatrove.tea.parsetree.TemplateCallExpression
- All Implemented Interfaces:
- Serializable, Cloneable, NullSafe
public class TemplateCallExpression
- extends CallExpression
A CallExpression to a template is specified in a template with the "call"
keyword.
- Author:
- Brian S O'Neill
- See Also:
FunctionCallExpression,
Serialized Form
| Methods inherited from class org.teatrove.tea.parsetree.CallExpression |
clone, getExpression, getInitializer, getParams, getSubstitutionParam, getTarget, isExceptionPossible, isNullSafe, isVoidPermitted, setExpression, setInitializer, setNullSafe, setParams, setSubstitutionParam, setTarget, setVoidPermitted |
TemplateCallExpression
public TemplateCallExpression(SourceInfo info,
Expression expression,
Name target,
ExpressionList params,
Block subParam)
accept
public Object accept(NodeVisitor visitor)
- Description copied from class:
Node
- Every subclass of Node must override this method with the following:
return visitor.visit(this).
- Overrides:
accept in class Expression
- Parameters:
visitor - A visitor of this Node
- Returns:
- Node The Node returned by the visitor
- See Also:
NodeVisitor
getCalledTemplate
public CompilationUnit getCalledTemplate()
- Returns the template being called, which is set by a type checker.
setCalledTemplate
public void setCalledTemplate(CompilationUnit template)
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.