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

public static class FunctionMacro.FunctionReplacementUnit extends Macro.ReplacementUnit
  • Field Details

    • formalIndex

      public int formalIndex
      If 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)