Holds symbol information; used by BalancedTree
Public Methods
-
SymbolObject()
- Default constructor
-
~SymbolObject()
- Destructor
-
SymbolObject(const SymbolObject &)
- Copy constructor
-
const SymbolObject& operator=(const SymbolObject &)
- Overridden assignment operator
-
String* getIdentifier()
- Returns identifier string (symbol name)
-
void setIdentifier(String* )
- Sets identifier string
-
int getLine()
- Gets line number where symbol appears
-
void setLine(int l)
- Sets line number
-
int getCol()
- Gets column number where symbol appears
-
void setCol(int c)
- Sets column number
-
SymTypeEnum getType()
- Gets type of symbol
-
void setType(SymTypeEnum)
- Gets type of symbol
-
virtual int getOffset() = 0
- Get symbol offset
-
virtual SymClass isA() = 0
- Get type of derived object
Documentation
Holds symbol information; used by BalancedTree
SymbolObject()
- Default constructor
~SymbolObject()
- Destructor
SymbolObject(const SymbolObject &)
- Copy constructor
const SymbolObject& operator=(const SymbolObject &)
- Overridden assignment operator
String* getIdentifier()
- Returns identifier string (symbol name)
void setIdentifier(String* )
- Sets identifier string
int getLine()
- Gets line number where symbol appears
void setLine(int l)
- Sets line number
int getCol()
- Gets column number where symbol appears
void setCol(int c)
- Sets column number
SymTypeEnum getType()
- Gets type of symbol
void setType(SymTypeEnum)
- Gets type of symbol
virtual int getOffset() = 0
- Get symbol offset
virtual SymClass isA() = 0
- Get type of derived object
- This class has no child classes.
- Friends:
- ostream &operator<<(ostream &, SymbolObject &)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.