class DeclarationCls
class DeclarationCls: public PTreeNodeCls, public LstSeqBldrCls
A declaration
Inheritance:
-
-
Public Methods
- DeclarationCls()
- Constructor
- DeclarationCls(PPTreeNodeCls identSeq, PPTreeNodeCls dataType, char *declText)
- Constructor
- int emit()
- SLICK Emitter
-
Protected Fields
- PIdentSeqCls ident_seq
- Sequence of identifiers
- PDataTypeCls data_type
- Element data type
- char* decl_text
- declaration text from input
-
Documentation
A declaration. Declaration: <IdentifierSeq> : <DataType> |
- DeclarationCls()
- Constructor.
Creates an empty declartion.
- DeclarationCls(PPTreeNodeCls identSeq, PPTreeNodeCls dataType, char *declText)
- Constructor.
- Parameters:
-
identSeq - Sequence of identifiers
dataType - Array element data type
declText - Input text that created this declaration
- int emit()
- SLICK Emitter.
Nothing emitted.
- Returns:
- 0
- PIdentSeqCls ident_seq
- Sequence of identifiers.
- PDataTypeCls data_type
- Element data type.
- char* decl_text
- declaration text from input
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
DOC++