oscript.syntaxtree
Class ScopeBlock

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

public class ScopeBlock
extends java.lang.Object
implements Node

Grammar production:

 f0 -> "{"
 f1 -> Program(false)
 f2 -> "}"
 

See Also:
Serialized Form

Field Summary
 NodeToken f0
           
 Program f1
           
 NodeToken f2
           
 boolean hasFxnInScope
           
 boolean hasVarInScope
           
 
Constructor Summary
ScopeBlock(NodeToken n0, Program n1, NodeToken n2, boolean hasVarInScope, boolean hasFxnInScope)
           
ScopeBlock(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

f0

public NodeToken f0

f1

public Program f1

f2

public NodeToken f2

hasVarInScope

public boolean hasVarInScope

hasFxnInScope

public boolean hasFxnInScope
Constructor Detail

ScopeBlock

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

ScopeBlock

public ScopeBlock(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