CalltipsSupport.Argument

Members

Static functions

anyVariadic
Argument anyVariadic(int[2] range)

Creates Argument(range, 0, 0, 0, true)

templateType
Argument templateType(int[2] range)

Creates Argument(range, range, range, 0)

templateValue
Argument templateValue(int[2] range)

Creates Argument(range, 0, range, range)

Variables

contentRange
int[2] contentRange;

Ranges of type, name and value not including commas or parentheses, but being right next to them. For calls this is the only important and accurate value.

nameRange
int[2] nameRange;

Range of just the name

typeRange
int[2] typeRange;

Range of just the type, or for templates also alias

valueRange
int[2] valueRange;

Range of just the default value

variadic
bool variadic;

True if the type declaration is variadic (using ...), or without typeRange a completely variadic argument

Meta