net.jangaroo.jooc.ast
Class ApplyExpr

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.ApplyExpr
All Implemented Interfaces:
AstNode, CodeGenerator

public class ApplyExpr
extends Expr

Author:
Andreas Gawecki, Frank Wienberg

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
ApplyExpr(Expr fun, JooSymbol lParen, CommaSeparatedList<Expr> args, JooSymbol rParen)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 ParenthesizedExpr<CommaSeparatedList<Expr>> getArgs()
           
 Expr getFun()
           
 JooSymbol getSymbol()
           
 boolean isInsideNewExpr()
           
 boolean isTypeCast()
           
 void scope(Scope scope)
           
 void setInsideNewExpr(boolean insideNewExpr)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, isCompileTimeConstant, setType
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, generate, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyExpr

public ApplyExpr(Expr fun,
                 JooSymbol lParen,
                 CommaSeparatedList<Expr> args,
                 JooSymbol rParen)
Method Detail

visit

public void visit(AstVisitor visitor)
           throws IOException
Throws:
IOException

isInsideNewExpr

public boolean isInsideNewExpr()

setInsideNewExpr

public void setInsideNewExpr(boolean insideNewExpr)

scope

public void scope(Scope scope)

isTypeCast

public boolean isTypeCast()

analyze

public void analyze(AstNode parentNode)
Specified by:
analyze in interface AstNode
Overrides:
analyze in class NodeImplBase

getSymbol

public JooSymbol getSymbol()

getFun

public Expr getFun()

getArgs

public ParenthesizedExpr<CommaSeparatedList<Expr>> getArgs()


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.