com.voytechs.jnetstream.npl
Class StatementContainer
java.lang.Object
com.voytechs.jnetstream.npl.Node
com.voytechs.jnetstream.npl.StatementNode
com.voytechs.jnetstream.npl.StatementContainer
- All Implemented Interfaces:
- Visitable
- Direct Known Subclasses:
- FamilyStatement, HeaderStatement
public abstract class StatementContainer
- extends StatementNode
- implements Visitable
| Fields inherited from class com.voytechs.jnetstream.npl.Node |
parent |
|
Constructor Summary |
StatementContainer(java.lang.String statement)
Initializer the statement node. |
| Methods inherited from class com.voytechs.jnetstream.npl.StatementNode |
acceptCode, acceptLValue, acceptModifier, acceptStatement, canOptimize, getCode, getLineNumber, getName, getPermTable, getStatement, getSymTable, getType, getTypePrimitive, main, optimize, parse, parseCode, parseLValue, parseModifiers, parsePostModifiers, setSymTable, setTypePrimitive, toString |
| 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 |
size
protected IntNode size
skip
protected IntNode skip
linkAssertion
protected LinkAssertion linkAssertion
linkAssertionListCondition
protected java.util.List linkAssertionListCondition
linkAssertionListSource
protected java.util.List linkAssertionListSource
linkAssertionTable
protected java.util.Map linkAssertionTable
linkVariable
protected java.util.List linkVariable
StatementContainer
public StatementContainer(java.lang.String statement)
- Initializer the statement node.
getLinkVariable
public java.util.List getLinkVariable()
addLinkVariable
public void addLinkVariable(ReferenceNode node)
getLinkAssertion
public java.lang.String getLinkAssertion(int condition)
setLinkAssertion
public void setLinkAssertion(int condition,
java.lang.String header)
getLinkAssertionCondition
public OpNode getLinkAssertionCondition(int index)
getLinkAssertionSource
public java.lang.String getLinkAssertionSource(int index)
addLinkAssertion
public void addLinkAssertion(OpNode condition,
java.lang.String header)
getLinkAssertionSize
public int getLinkAssertionSize()
getLinkAssertion
public LinkAssertion getLinkAssertion()
setDefaultCandidate
public void setDefaultCandidate(java.lang.String candidate)
removeLinkAssertion
public void removeLinkAssertion(LinkStatement statement,
java.lang.String name)
- Removes the specified assertion link from this statement
- Parameters:
statement - link statement to remove