com.croftsoft.apps.compiler.mini.node
Class ProcedureCallStatementMiniNode
java.lang.Object
com.croftsoft.apps.compiler.mini.node.AbstractMiniNode
com.croftsoft.apps.compiler.mini.node.ProcedureCallStatementMiniNode
- All Implemented Interfaces:
- MiniNode, StatementMiniNode
public class ProcedureCallStatementMiniNode
- extends AbstractMiniNode
- implements StatementMiniNode
Parse tree node for the Mini programming language.
- Version:
- 1999-04-26
- See Also:
MiniNode
- Author:
- David W. Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nameMiniNode
protected NameMiniNode nameMiniNode
expressionSequenceMiniNode
protected ExpressionSequenceMiniNode expressionSequenceMiniNode
callsNested
protected Boolean callsNested
ProcedureCallStatementMiniNode
public ProcedureCallStatementMiniNode(NameMiniNode nameMiniNode,
ExpressionSequenceMiniNode expressionSequenceMiniNode)
ProcedureCallStatementMiniNode
public ProcedureCallStatementMiniNode(NameMiniNode nameMiniNode)
getNameMiniNode
public NameMiniNode getNameMiniNode()
getExpressionSequenceMiniNode
public ExpressionSequenceMiniNode getExpressionSequenceMiniNode()
callsNested
public Boolean callsNested()
generate
public void generate(MiniNodeCodeVisitor miniNodeCodeVisitor)
- Description copied from interface:
MiniNode
- Uses the Visitor design pattern to generate code.
miniNodeCodeVisitor.generate ( this );
- Specified by:
generate
in interface MiniNode
checkSemantics
public void checkSemantics(Stack parentMiniNodeStack)
throws SemanticErrorException
- Specified by:
checkSemantics
in interface MiniNode
- Specified by:
checkSemantics
in interface StatementMiniNode
- Throws:
SemanticErrorException
CroftSoft Apps Javadoc (2008-09-28 21:15:07)