java.lang.Object
coneforest.psylla.core.PsyName
coneforest.psylla.core.PsyCommand
- All Implemented Interfaces:
PsyAtomic
,PsyConvertableToInteger
,PsyConvertableToIntegral
,PsyConvertableToReal
,PsyEvaluable
,PsyIterable<PsyInteger>
,PsyLengthy
,PsyObject
,PsyScalar<PsyTextual>
,PsySequential<PsyInteger>
,PsyStreamable<PsyInteger>
,PsyTextual
,Comparable<PsyTextual>
,Iterable<PsyInteger>
The representation of
command
.-
Field Summary
Fields inherited from interface coneforest.psylla.core.PsyConvertableToInteger
PSY_TOINTEGER
Fields inherited from interface coneforest.psylla.core.PsyConvertableToIntegral
PSY_TOINTEGRAL
Fields inherited from interface coneforest.psylla.core.PsyConvertableToReal
PSY_TOREAL
Fields inherited from interface coneforest.psylla.core.PsyEvaluable
PSY_EVAL
Fields inherited from interface coneforest.psylla.core.PsyLengthy
PSY_ISEMPTY, PSY_LENGTH
Fields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TONAME, PSY_TOSTRING, PSY_TYPE
Fields inherited from interface coneforest.psylla.core.PsyScalar
PSY_CMP, PSY_GE, PSY_GT, PSY_LE, PSY_LT, PSY_MAX, PSY_MIN
Fields inherited from interface coneforest.psylla.core.PsySequential
PSY_FORALL
Fields inherited from interface coneforest.psylla.core.PsyStreamable
PSY_STREAM
Fields inherited from interface coneforest.psylla.core.PsyTextual
PSY_INDEXOFCHAR, PSY_INDEXOFSUBSTRING, PSY_LOWERCASE, PSY_SPLIT, PSY_UPPERCASE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newcommand
object with the given name. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(PsyContext oContext) Execute this object in the given execution context.void
invoke
(PsyContext oContext) Invoke this object in the given execution context.Returns a syntactic representation of this object’s value.Methods inherited from class coneforest.psylla.core.PsyName
equals, hashCode, parseLiteral, psyLength, psyLowerCase, psyToString, psyUpperCase, stringValue
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface coneforest.psylla.core.PsyIterable
psyStream, psyToArray, psyUnite
Methods inherited from interface coneforest.psylla.core.PsyLengthy
isEmpty, psyIsEmpty
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, psyClone, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyType, typeName
Methods inherited from interface coneforest.psylla.core.PsyScalar
psyCmp, psyGe, psyGt, psyLe, psyLt, psyMax, psyMin
Methods inherited from interface coneforest.psylla.core.PsyStreamable
psyForAll
Methods inherited from interface coneforest.psylla.core.PsyTextual
compareTo, iterator, length, psyEq, psyEval, psyIndexOfChar, psyIndexOfSubstring, psySplit, psyToInteger, psyToIntegral, psyToName, psyToReal
-
Constructor Details
-
PsyCommand
Creates a newcommand
object with the given name.- Parameters:
cs
- a name.
-
-
Method Details
-
execute
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
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
Description copied from class:PsyName
Returns a syntactic representation of this object’s value. Returns a value string prepended with/
.- Specified by:
toSyntaxString
in interfacePsyObject
- Overrides:
toSyntaxString
in classPsyName
- Returns:
- a syntactic representation of this object’s value.
-