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_TOINTEGERFields inherited from interface coneforest.psylla.core.PsyConvertableToIntegral
PSY_TOINTEGRALFields inherited from interface coneforest.psylla.core.PsyConvertableToReal
PSY_TOREALFields inherited from interface coneforest.psylla.core.PsyEvaluable
PSY_EVALFields inherited from interface coneforest.psylla.core.PsyLengthy
PSY_ISEMPTY, PSY_LENGTHFields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TONAME, PSY_TOSTRING, PSY_TYPEFields inherited from interface coneforest.psylla.core.PsyScalar
PSY_CMP, PSY_GE, PSY_GT, PSY_LE, PSY_LT, PSY_MAX, PSY_MINFields inherited from interface coneforest.psylla.core.PsySequential
PSY_FORALLFields inherited from interface coneforest.psylla.core.PsyStreamable
PSY_STREAMFields inherited from interface coneforest.psylla.core.PsyTextual
PSY_INDEXOFCHAR, PSY_INDEXOFSUBSTRING, PSY_LOWERCASE, PSY_SPLIT, PSY_UPPERCASE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newcommandobject with the given name. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(PsyContext oContext) Execute this object in the given execution context.voidinvoke(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, stringValueMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface coneforest.psylla.core.PsyIterable
psyStream, psyToArray, psyUniteMethods inherited from interface coneforest.psylla.core.PsyLengthy
isEmpty, psyIsEmptyMethods inherited from interface coneforest.psylla.core.PsyObject
convert, psyClone, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyType, typeNameMethods inherited from interface coneforest.psylla.core.PsyScalar
psyCmp, psyGe, psyGt, psyLe, psyLt, psyMax, psyMinMethods inherited from interface coneforest.psylla.core.PsyStreamable
psyForAllMethods inherited from interface coneforest.psylla.core.PsyTextual
compareTo, iterator, length, psyEq, psyEval, psyIndexOfChar, psyIndexOfSubstring, psySplit, psyToInteger, psyToIntegral, psyToName, psyToReal
-
Constructor Details
-
PsyCommand
Creates a newcommandobject with the given name.- Parameters:
cs- a name.
-
-
Method Details
-
execute
Description copied from interface:PsyObjectExecute 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:PsyObjectInvoke 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:PsyNameReturns a syntactic representation of this object’s value. Returns a value string prepended with/.- Specified by:
toSyntaxStringin interfacePsyObject- Overrides:
toSyntaxStringin classPsyName- Returns:
- a syntactic representation of this object’s value.
-