Interface IScopedSymbol

All Superinterfaces:
IScope, ISymbol, ITokenReference, Serializable
All Known Subinterfaces:
IAggregateSymbol
All Known Implementing Classes:
AggregateSymbol, AggregateWithTraitsSymbol, CallSymbol, CaptureScopedSymbol, ControlSymbol, ForSymbol, FunctionSymbol, MethodSymbol, PossibleGenericSymbol, ScopedSymbol, ServiceOperationSymbol, StackConsistencyScope, StreamCallSymbol, SwitchSymbol, TrySymbol, WhileSymbol

public interface IScopedSymbol extends IScope, ISymbol
For symbols that are both a pure symbol but can also define a scope.
  • Method Details

    • clone

      IScopedSymbol clone(IScope withParentAsAppropriate)
      Description copied from interface: ISymbol
      Clone the symbol and re-parent if this symbol like a method should have a parent. Other symbols like VariableSymbols are un-parented
      Specified by:
      clone in interface IScope
      Specified by:
      clone in interface ISymbol