Class PsyName

java.lang.Object
coneforest.psylla.core.PsyString
coneforest.psylla.core.PsyName
All Implemented Interfaces:
PsyConcatenable<PsyString>, PsyConvertableToInteger, PsyConvertableToIntegral, PsyConvertableToRational, PsyConvertableToReal, PsyEvaluable, PsyIterable<PsyInteger>, PsyLengthy, PsyObject, PsyScalar<PsyTextual>, PsySequential<PsyInteger>, PsyStreamable<PsyInteger>, PsyTextual, PsyValue, Comparable<PsyTextual>, Iterable<PsyInteger>

@Type("name") public final class PsyName extends PsyString
The representation of name.
  • Constructor Details

    • PsyName

      public PsyName(CharSequence cs)
      Constructs a new name object with the given name.
      Parameters:
      cs - the name.
  • Method Details

    • execute

      public void execute(PsyContext oContext)
      Description copied from interface: PsyObject
      Execute this object in the given execution context. Pushes this object into context’s operand stack.
      Parameters:
      oContext - the execution context.
    • invoke

      public void invoke(PsyContext oContext)
      Description copied from interface: PsyObject
      Invoke this object in the given execution context. Pushes this object into context’s operand stack.
      Parameters:
      oContext - the execution context.
    • toSyntaxString

      public String toSyntaxString()
      Description copied from class: PsyString
      Returns a syntactic representation of this object’s value. Returns a value string prepended with /.
      Specified by:
      toSyntaxString in interface PsyObject
      Overrides:
      toSyntaxString in class PsyString
      Returns:
      a syntactic representation of this object’s value