Interface ITokenReference

All Known Subinterfaces:
IAggregateSymbol, ICanBeGeneric, IScopedSymbol, ISymbol
All Known Implementing Classes:
AggregateSymbol, AggregateWithTraitsSymbol, CallSymbol, CaptureScopedSymbol, ConstantSymbol, ControlSymbol, ExpressionSymbol, ForSymbol, FunctionSymbol, MethodSymbol, ParamExpressionSymbol, PossibleGenericSymbol, ScopedSymbol, ServiceOperationSymbol, StackConsistencyScope, StreamCallSymbol, StreamPipeLineSymbol, SwitchSymbol, Symbol, TrySymbol, VariableSymbol, WhileSymbol

public interface ITokenReference
Used in various ways to hold a token from the parse, so we can reference back to source code.
  • Method Details

    • getSourceToken

      IToken getSourceToken()
    • setSourceToken

      void setSourceToken(IToken sourceToken)