oscript.syntaxtree
Class FunctionPrimaryPrefix

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

public class FunctionPrimaryPrefix
extends java.lang.Object
implements Node

Grammar production:


 f0 -> "function"
 f1 -> "("
 f2 -> ( Arglist() )?
 f3 -> ")"
 f4 -> ( "extends" PrimaryExpressionWithTrailingFxnCallExpList() FunctionCallExpressionList() )?
 f5 -> "{"
 f6 -> Program(true)
 f7 -> "}"
 

See Also:
Serialized Form

Field Summary
 Value comment
           
 boolean commentParsed
           
 NodeToken f0
           
 NodeToken f1
           
 NodeOptional f2
           
 NodeToken f3
           
 NodeOptional f4
           
 NodeToken f5
           
 Program f6
           
 NodeToken f7
           
 Function.FunctionData fd
           
 boolean hasFxnInScope
           
 boolean hasVarInScope
           
 int id
           
 
Constructor Summary
FunctionPrimaryPrefix(NodeOptional n0, NodeOptional n1, Program n2)
           
FunctionPrimaryPrefix(NodeToken n0, NodeToken n1, NodeOptional n2, NodeToken n3, NodeOptional n4, NodeToken n5, Program n6, NodeToken n7, boolean hasVarInScope, boolean hasFxnInScope)
           
 
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

id

public int id

commentParsed

public boolean commentParsed

comment

public Value comment

fd

public Function.FunctionData fd

hasVarInScope

public boolean hasVarInScope

hasFxnInScope

public boolean hasFxnInScope

f0

public NodeToken f0

f1

public NodeToken f1

f2

public NodeOptional f2

f3

public NodeToken f3

f4

public NodeOptional f4

f5

public NodeToken f5

f6

public Program f6

f7

public NodeToken f7
Constructor Detail

FunctionPrimaryPrefix

public FunctionPrimaryPrefix(NodeToken n0,
                             NodeToken n1,
                             NodeOptional n2,
                             NodeToken n3,
                             NodeOptional n4,
                             NodeToken n5,
                             Program n6,
                             NodeToken n7,
                             boolean hasVarInScope,
                             boolean hasFxnInScope)

FunctionPrimaryPrefix

public FunctionPrimaryPrefix(NodeOptional n0,
                             NodeOptional n1,
                             Program n2)
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