Class ReadOnlySymbol

java.lang.Object
gw.internal.gosu.parser.Symbol
gw.internal.gosu.parser.ReadOnlySymbol
All Implemented Interfaces:
IFunctionSymbol, IHasType, IReducedSymbol, ISymbol

public class ReadOnlySymbol extends Symbol
  • Constructor Details

  • Method Details

    • getLightWeightReference

      public ISymbol getLightWeightReference()
      Description copied from interface: ISymbol
      Creates a copy of this symbol without the value so that the empty symbol can be stored.
      Specified by:
      getLightWeightReference in interface ISymbol
      Overrides:
      getLightWeightReference in class Symbol
    • isWritable

      public boolean isWritable()
      Description copied from interface: ISymbol
      Returns true if this symbol is writable.

      An example of a symbol that is not writable is a readonly Property referenced as a symbol in a Gosu class.

      Specified by:
      isWritable in interface ISymbol
      Overrides:
      isWritable in class Symbol