Class GosuVarPropertyInfo.VarPropertyAccessor

java.lang.Object
gw.internal.gosu.parser.GosuVarPropertyInfo.VarPropertyAccessor
All Implemented Interfaces:
IPropertyAccessor
Enclosing class:
GosuVarPropertyInfo

private class GosuVarPropertyInfo.VarPropertyAccessor extends Object implements IPropertyAccessor
  • Constructor Details

    • VarPropertyAccessor

      private VarPropertyAccessor()
  • Method Details

    • getValue

      public Object getValue(Object ctx)
      Description copied from interface: IPropertyAccessor
      Returns the value for a property given a "this" object
      Specified by:
      getValue in interface IPropertyAccessor
      Parameters:
      ctx - the "this" pointer.
      Returns:
      the value of the property for the ctx object
    • setValue

      public void setValue(Object ctx, Object value)
      Description copied from interface: IPropertyAccessor
      Sets the property to the given value for the ctx object
      Specified by:
      setValue in interface IPropertyAccessor
      Parameters:
      ctx - the "this" pointer
      value - the new value