| Modifier and Type | Field and Description |
|---|---|
protected List<Type> |
argumentTypes |
protected Type |
returnType |
| Constructor and Description |
|---|
FunctionType(Type returnType,
List<Type> argumentTypes) |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
getArgumentTypes() |
String |
getName() |
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.
|
String |
toString() |
protected final Type returnType
public int getTypeIndex()
TypegetTypeIndex in interface TypeCopyright © 2016 ANTLR. All Rights Reserved.