public class AccessSymbol extends PseudoSymbol implements Symbol
| Constructor and Description |
|---|
AccessSymbol(AccessExpression ae)
Constructs an object with the given access expression.
|
AccessSymbol(Symbol base,
Symbol member)
Constructs a struct symbol with the given base and member symbol.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Checks if the this symbol is equal to the the given object.
|
java.util.List |
getArraySpecifiers()
Returns the list of array specifiers.
|
Symbol |
getBaseSymbol()
Returns the base symbol.
|
Symbol |
getIRSymbol()
Returns the IR symbol from which the current symbol is derived.
|
Symbol |
getMemberSymbol()
Returns the member symbol.
|
java.lang.String |
getSymbolName()
Returns the name representation of the symbol.
|
java.util.List |
getTypeSpecifiers()
Returns the list of type specifiers.
|
int |
hashCode()
Returns the hash code of the current struct symbol.
|
getDeclaration, setName, toStringgetDeclaration, setNamepublic AccessSymbol(AccessExpression ae)
ae - the access expression which a symbol is created from.public java.util.List getTypeSpecifiers()
getTypeSpecifiers in interface Symbolpublic java.util.List getArraySpecifiers()
getArraySpecifiers in interface Symbolpublic java.lang.String getSymbolName()
getSymbolName in interface Symbolpublic boolean equals(java.lang.Object o)
equals in class PseudoSymbolo - the object to be compared with.public int hashCode()
hashCode in class PseudoSymbolpublic Symbol getBaseSymbol()
public Symbol getMemberSymbol()
public Symbol getIRSymbol()
getIRSymbol in class PseudoSymbol