net.jangaroo.jooc.ast
Class BinaryOpExpr

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.OpExpr
              extended by net.jangaroo.jooc.ast.BinaryOpExpr
All Implemented Interfaces:
AstNode
Direct Known Subclasses:
AssignmentOpExpr, InfixOpExpr

public class BinaryOpExpr
extends OpExpr

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
BinaryOpExpr(Expr arg1, JooSymbol op, Expr arg2)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 Expr getArg1()
           
 Expr getArg2()
           
 List<? extends AstNode> getChildren()
           
 JooSymbol getSymbol()
           
 boolean isCompileTimeConstant()
           
 boolean isRuntimeConstant()
           
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.OpExpr
getOp
 
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, setType
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryOpExpr

public BinaryOpExpr(Expr arg1,
                    JooSymbol op,
                    Expr arg2)
Method Detail

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

scope

public void scope(Scope scope)

analyze

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

getSymbol

public JooSymbol getSymbol()

isRuntimeConstant

public boolean isRuntimeConstant()
Overrides:
isRuntimeConstant in class Expr

isCompileTimeConstant

public boolean isCompileTimeConstant()
Overrides:
isCompileTimeConstant in class Expr

getArg1

public Expr getArg1()

getArg2

public Expr getArg2()


Copyright © 2002–2014 CoreMedia AG. All rights reserved.