net.jangaroo.jooc
Class TypeRelation

java.lang.Object
  extended by net.jangaroo.jooc.NodeImplBase
      extended by net.jangaroo.jooc.TypeRelation

public class TypeRelation
extends NodeImplBase

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
TypeRelation(JooSymbol symRelation, Type type)
           
 
Method Summary
 net.jangaroo.jooc.AstNode analyze(net.jangaroo.jooc.AstNode parentNode, AnalyzeContext context)
           
protected  void generateAsApiCode(JsWriter out)
          Default implementation generates same code as JS.
protected  void generateJsCode(JsWriter out)
           
 JooSymbol getSymbol()
           
 Type getType()
           
 void scope(Scope scope)
           
 
Methods inherited from class net.jangaroo.jooc.NodeImplBase
analyze, generateCode, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeRelation

public TypeRelation(JooSymbol symRelation,
                    Type type)
Method Detail

getType

public Type getType()

scope

public void scope(Scope scope)

analyze

public net.jangaroo.jooc.AstNode analyze(net.jangaroo.jooc.AstNode parentNode,
                                         AnalyzeContext context)
Overrides:
analyze in class NodeImplBase

generateAsApiCode

protected void generateAsApiCode(JsWriter out)
                          throws IOException
Description copied from class: NodeImplBase
Default implementation generates same code as JS. Overwritten where this must differ.

Overrides:
generateAsApiCode in class NodeImplBase
Throws:
IOException

generateJsCode

protected void generateJsCode(JsWriter out)
                       throws IOException
Specified by:
generateJsCode in class NodeImplBase
Throws:
IOException

getSymbol

public JooSymbol getSymbol()


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