public class FunctionSymbol extends Object
Constructor and Description |
---|
FunctionSymbol(String name,
FunctionType type) |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(Type argumentType,
String argumentName)
Add an argument's name and type.
|
boolean |
equals(Object arg) |
String |
getArgumentName(int i)
Returns the name of the ith argument.
|
Type |
getArgumentType(int i)
Returns the type of the ith argument.
|
String |
getName() |
int |
getNumArguments() |
Type |
getReturnType()
Returns the return type of this function.
|
FunctionType |
getType()
Returns the type of this function.
|
int |
hashCode() |
String |
toString() |
String |
toString(boolean emitNativeTag)
Helper routine for emitting native javadoc tags
|
public FunctionSymbol(String name, FunctionType type)
public String getName()
public FunctionType getType()
public Type getReturnType()
public int getNumArguments()
public String getArgumentName(int i)
public Type getArgumentType(int i)
public void addArgument(Type argumentType, String argumentName)
public String toString(boolean emitNativeTag)