Package edu.udel.cis.vsl.abc.token.IF
Class FunctionMacro.FunctionReplacementUnit
java.lang.Object
edu.udel.cis.vsl.abc.token.IF.Macro.ReplacementUnit
edu.udel.cis.vsl.abc.token.IF.FunctionMacro.FunctionReplacementUnit
- Enclosing interface:
- FunctionMacro
-
Field Summary
FieldsModifier and TypeFieldDescriptionintIf the replacement token is an occurrence of a formal parameter, this is the formal index; otherwise -1.Fields inherited from class edu.udel.cis.vsl.abc.token.IF.Macro.ReplacementUnit
index, token, whitespace -
Constructor Summary
ConstructorsConstructorDescriptionFunctionReplacementUnit(int index, org.antlr.runtime.Token token, org.antlr.runtime.Token[] whitespace) -
Method Summary
-
Field Details
-
formalIndex
public int formalIndexIf the replacement token is an occurrence of a formal parameter, this is the formal index; otherwise -1. An occurrence of the identifier "__VA_ARGS__" is treated as an occurrence of the formal parameter ELLIPSIS ("...") if the ELLIPSIS occurs in the formal parameter list.
-
-
Constructor Details
-
FunctionReplacementUnit
public FunctionReplacementUnit(int index, org.antlr.runtime.Token token, org.antlr.runtime.Token[] whitespace)
-