oscript.syntaxtree
Class ShorthandFunctionPrimaryPrefix

java.lang.Object
  extended byoscript.syntaxtree.ShorthandFunctionPrimaryPrefix
All Implemented Interfaces:
Node, java.io.Serializable

public class ShorthandFunctionPrimaryPrefix
extends java.lang.Object
implements Node

Grammar production:


 f0 -> "'{"
 f1 -> Program(true)
 f2 -> "}"
 

See Also:
Serialized Form

Field Summary
 NodeToken f0
           
 Program f1
           
 NodeToken f2
           
 boolean hasFxnInScope
           
 boolean hasVarInScope
           
 Node translated
           
 
Constructor Summary
ShorthandFunctionPrimaryPrefix(NodeToken n0, Program n1, NodeToken n2, boolean hasVarInScope, boolean hasFxnInScope)
           
ShorthandFunctionPrimaryPrefix(Program n0)
           
 
Method Summary
 java.lang.Object accept(ObjectVisitor v, java.lang.Object argu)
           
 void accept(Visitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

translated

public Node translated

hasVarInScope

public boolean hasVarInScope

hasFxnInScope

public boolean hasFxnInScope

f0

public NodeToken f0

f1

public Program f1

f2

public NodeToken f2
Constructor Detail

ShorthandFunctionPrimaryPrefix

public ShorthandFunctionPrimaryPrefix(NodeToken n0,
                                      Program n1,
                                      NodeToken n2,
                                      boolean hasVarInScope,
                                      boolean hasFxnInScope)

ShorthandFunctionPrimaryPrefix

public ShorthandFunctionPrimaryPrefix(Program n0)
Method Detail

accept

public void accept(Visitor v)
Specified by:
accept in interface Node

accept

public java.lang.Object accept(ObjectVisitor v,
                               java.lang.Object argu)
Specified by:
accept in interface Node