net.jangaroo.jooc.ast
Class FunctionExpr
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Expr
net.jangaroo.jooc.ast.FunctionExpr
- All Implemented Interfaces:
- AstNode
public class FunctionExpr
- extends Expr
- Author:
- Andreas Gawecki, Frank Wienberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARGUMENTS
public static final String ARGUMENTS
- See Also:
- Constant Field Values
ARGUMENTS_IDE
public static final Ide ARGUMENTS_IDE
ANY_TYPE
public static final Type ANY_TYPE
FunctionExpr
public FunctionExpr(FunctionDeclaration functionDeclaration,
JooSymbol symFunction,
Ide ide,
JooSymbol lParen,
Parameters params,
JooSymbol rParen,
TypeRelation optTypeRelation,
BlockStatement optBody)
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildren in interface AstNode- Overrides:
getChildren in class NodeImplBase
visit
public void visit(AstVisitor visitor)
throws IOException
- Throws:
IOException
getFunctionDeclaration
public FunctionDeclaration getFunctionDeclaration()
getParams
public Parameters getParams()
getBody
public BlockStatement getBody()
getSymbol
public JooSymbol getSymbol()
getClassDeclaration
public IdeDeclaration getClassDeclaration()
scope
public void scope(Scope scope)
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyze in interface AstNode- Overrides:
analyze in class NodeImplBase
addImplicitParam
public void addImplicitParam(Parameter parameter)
hasBody
public boolean hasBody()
getIde
public Ide getIde()
getSymFunction
public JooSymbol getSymFunction()
getLParen
public JooSymbol getLParen()
getOptTypeRelation
public TypeRelation getOptTypeRelation()
getRParen
public JooSymbol getRParen()
getFunSymbol
public JooSymbol getFunSymbol()
isArgumentsUsedAsArray
public boolean isArgumentsUsedAsArray()
Copyright © 2002–2014 CoreMedia AG. All rights reserved.