net.jangaroo.jooc
Class InfixOpExpr
java.lang.Object
net.jangaroo.jooc.NodeImplBase
net.jangaroo.jooc.InfixOpExpr
public class InfixOpExpr
- extends NodeImplBase
A BinaryOpExpr for AS3 infix operators that are not supported directly in JS.
For JS, the operand is generated as a function receiving the two arguments.
- Author:
- Frank Wienberg
|
Constructor Summary |
InfixOpExpr(net.jangaroo.jooc.Expr arg1,
JooSymbol op,
net.jangaroo.jooc.Expr arg2)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfixOpExpr
public InfixOpExpr(net.jangaroo.jooc.Expr arg1,
JooSymbol op,
net.jangaroo.jooc.Expr arg2)
generateAsApiCode
protected void generateAsApiCode(JsWriter out)
throws java.io.IOException
- Description copied from class:
NodeImplBase
- Default implementation generates same code as JS. Overwritten where this must differ.
- Overrides:
generateAsApiCode in class NodeImplBase
- Throws:
java.io.IOException
generateJsCode
protected void generateJsCode(JsWriter out)
throws java.io.IOException
- Throws:
java.io.IOException
scope
public void scope(Scope scope)
analyze
public net.jangaroo.jooc.Expr analyze(net.jangaroo.jooc.AstNode parentNode,
AnalyzeContext context)
getSymbol
public JooSymbol getSymbol()
getType
public IdeDeclaration getType()
setType
public void setType(IdeDeclaration type)
Copyright © 2002-2010 CoreMedia AG. All Rights Reserved.