public class TypeAlias extends BaseSymbol implements Type
| Modifier and Type | Field and Description |
|---|---|
protected Type |
targetType |
defNode, lexicalOrder, name, scope, type| Constructor and Description |
|---|
TypeAlias(String name,
Type targetType) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getTargetType() |
int |
getTypeIndex()
It is useful during type computation and code gen to assign an int
index to the primitive types and possibly user-defined types like
structs and classes.
|
equals, getDefNode, getFullyQualifiedName, getInsertionOrderNumber, getName, getScope, getType, hashCode, setDefNode, setInsertionOrderNumber, setScope, setType, toStringprotected Type targetType
public int getTypeIndex()
TypegetTypeIndex in interface Typepublic Type getTargetType()
Copyright © 2016 ANTLR. All Rights Reserved.