com.voytechs.jnetstream.npl
Class LocalStatement

java.lang.Object
  extended by com.voytechs.jnetstream.npl.Node
      extended by com.voytechs.jnetstream.npl.StatementNode
          extended by com.voytechs.jnetstream.npl.LocalStatement
All Implemented Interfaces:
Visitable

public abstract class LocalStatement
extends StatementNode
implements Visitable


Field Summary
protected  LongNode size
           
 
Fields inherited from class com.voytechs.jnetstream.npl.StatementNode
code, modifiers, perm, statement, sym, token, type, typePrimitive, value
 
Fields inherited from class com.voytechs.jnetstream.npl.Node
parent
 
Constructor Summary
LocalStatement()
          Initializer the statement node.
 
Method Summary
protected  boolean acceptLValueSize(Node node)
           
protected  boolean acceptType(Token token)
           
static void main(java.lang.String[] args)
          Test function for StatementNode
protected  void parseLValue(ExpTokenizer tokens)
           
protected  void parsePostModifiers(ExpTokenizer tokens)
           
 java.lang.String toString()
           
 
Methods inherited from class com.voytechs.jnetstream.npl.StatementNode
acceptCode, acceptLValue, acceptModifier, acceptStatement, canOptimize, getCode, getLineNumber, getName, getPermTable, getStatement, getSymTable, getType, getTypePrimitive, optimize, parse, parseCode, parseModifiers, setSymTable, setTypePrimitive
 
Methods inherited from class com.voytechs.jnetstream.npl.Node
getParent, getToken, setParent, setToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.voytechs.jnetstream.npl.Visitable
visit
 

Field Detail

size

protected LongNode size
Constructor Detail

LocalStatement

public LocalStatement()
Initializer the statement node.

Method Detail

parseLValue

protected void parseLValue(ExpTokenizer tokens)
                    throws SyntaxError
Overrides:
parseLValue in class StatementNode
Throws:
SyntaxError

parsePostModifiers

protected void parsePostModifiers(ExpTokenizer tokens)
                           throws SyntaxError
Overrides:
parsePostModifiers in class StatementNode
Throws:
SyntaxError

acceptType

protected boolean acceptType(Token token)

acceptLValueSize

protected boolean acceptLValueSize(Node node)

toString

public java.lang.String toString()
Overrides:
toString in class StatementNode

main

public static void main(java.lang.String[] args)
Test function for StatementNode

Parameters:
args - command line arguments