Home
 

class AssignmentStmtCls

class AssignmentStmtCls: public StatementCls

An assignment statement

Inheritance:


Public Methods

[more] AssignmentStmtCls(PPTreeNodeCls assignSeq, PPTreeNodeCls Expr, char* StmtText)
Constructor
[more]int emit()
SLICK Emitter



Inherited from StatementCls:

Protected Fields

ochar* stmt_text



Documentation

An assignment statement.AssignmentStmt: <AssignmentSeq> <Expr>
oAssignmentStmtCls(PPTreeNodeCls assignSeq, PPTreeNodeCls Expr, char* StmtText)
Constructor.
Parameters:
assignSeq - Data items to assign expression to
Expr - The expression
StmtText - Text of input file that created this assignment

oint emit()
SLICK Emitter.

Emits the data items and the expression. Then, for each data item an assignment opcode is emitted. Finally, the expression is poped off the stack.

Returns:
0

This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



DOC++