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>
-
Field Summary
Fields inherited from interface PsyConcatenable
PSY_CONCATFields inherited from interface PsyConvertableToInteger
PSY_TOINTEGERFields inherited from interface PsyConvertableToIntegral
PSY_TOINTEGRALFields inherited from interface PsyConvertableToRational
PSY_TORATIONALFields inherited from interface PsyConvertableToReal
PSY_TOREALFields inherited from interface PsyEvaluable
PSY_EVALFields inherited from interface PsyLengthy
PSY_ISEMPTY, PSY_LENGTHFields inherited from interface PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPEFields inherited from interface PsySequential
PSY_FORALLFields inherited from interface PsyStreamable
PSY_STREAMFields inherited from interface PsyTextual
PSY_INDEXOFCHAR, PSY_INDEXOFSUBSTRING, PSY_LOWERCASE, PSY_SPLIT, PSY_UPPERCASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(PsyContext oContext) Execute thisobjectin the given execution context.voidinvoke(PsyContext oContext) Invoke thisobjectin the given execution context.static PsyNameparseLiteral(String image) Returns a syntactic representation of this object’s value.Methods inherited from class PsyString
equals, hashCode, psyConcat, psyLength, psyLowerCase, psyToStringBuffer, psyUpperCase, stringValueMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface PsyIterable
psyStream, psyToArray, psyUniteMethods inherited from interface PsyLengthy
isEmpty, psyIsEmptyMethods inherited from interface PsyObject
convert, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyType, typeNameMethods inherited from interface PsyStreamable
psyForAllMethods inherited from interface PsyTextual
compareTo, iterator, length, psyEq, psyEval, psyIndexOfChar, psyIndexOfSubstring, psySplit, psyToInteger, psyToIntegral, psyToRational, psyToReal, psyToString
-
Constructor Details
-
PsyName
Constructs a newnameobject with the given name.- Parameters:
cs- the name.
-
-
Method Details
-
parseLiteral
-
execute
Description copied from interface:PsyObjectExecute thisobjectin the given execution context. Pushes thisobjectinto context’s operand stack.- Parameters:
oContext- the execution context.
-
invoke
Description copied from interface:PsyObjectInvoke thisobjectin the given execution context. Pushes thisobjectinto context’s operand stack.- Parameters:
oContext- the execution context.
-
toSyntaxString
Description copied from class:PsyStringReturns a syntactic representation of this object’s value. Returns a value string prepended with/.- Specified by:
toSyntaxStringin interfacePsyObject- Overrides:
toSyntaxStringin classPsyString- Returns:
- a syntactic representation of this object’s value
-