Package coneforest.psylla.core
Interface PsyObject
- All Superinterfaces:
PsyConvertableToName
,PsyConvertableToString
- All Known Subinterfaces:
PsyAdditive<T>
,PsyAppendable<T>
,PsyArithmetic<T>
,PsyAtomic
,PsyBitwise<T>
,PsyBounded
,PsyClearable
,PsyCloseable
,PsyContainer<T>
,PsyContext
,PsyConvertableToInteger
,PsyConvertableToIntegral
,PsyConvertableToReal
,PsyEvaluable
,PsyExecutable
,PsyFlushable
,PsyFormalArray<T>
,PsyFormalDict<V>
,PsyFormalQueue<T>
,PsyFormalSet<T>
,PsyFormalStream<T>
,PsyIndexed<K,
,V> PsyIntegral
,PsyIterable<T>
,PsyLengthy
,PsyLogical<T>
,PsyMultiplicative<T>
,PsyNumeric
,PsyRational
,PsyReadable
,PsyReady
,PsyRealNumeric
,PsyResetable
,PsyScalar<T>
,PsySequential<T>
,PsyStreamable<T>
,PsyTextual
,PsyWritable
- All Known Implementing Classes:
Interpreter
,PsyArray
,PsyBigFractional
,PsyBigInteger
,PsyBitArray
,PsyBitSet
,PsyBlockingQueue
,PsyBoolean
,PsyCommand
,PsyComplex
,PsyConcurrentModificationException
,PsyCondition
,PsyConfigDict
,PsyDict
,PsyDictStackUnderflowException
,PsyDirectoryNotEmptyException
,PsyErrorDict
,PsyErrorException
,PsyFileAccessDeniedException
,PsyFileExistsException
,PsyFileNotFoundException
,PsyFileReader
,PsyFileWriter
,PsyFractional
,PsyInput
,PsyInteger
,PsyInterruptException
,PsyInvalidContextException
,PsyInvalidExitException
,PsyInvalidExternalException
,PsyInvalidRegExpException
,PsyInvalidStateException
,PsyIOErrorException
,PsyLimitCheckException
,PsyLock
,PsyMark
,PsyMatcher
,PsyModule
,PsyName
,PsyNamespace
,PsyNotDirectoryException
,PsyNotImplementedException
,PsyNotLinkException
,PsyNull
,PsyOperator
,PsyOperator.Action
,PsyOperator.Arity00
,PsyOperator.Arity01
,PsyOperator.Arity10
,PsyOperator.Arity11
,PsyOperator.Arity20
,PsyOperator.Arity21
,PsyOperator.Arity30
,PsyOperator.Arity31
,PsyOperator.Method
,PsyOutput
,PsyProc
,PsyProcess
,PsyRandom
,PsyRange
,PsyRangeCheckException
,PsyReader
,PsyReal
,PsyRegExp
,PsyRomanNumerals
,PsySecurityErrorException
,PsySet
,PsyStackUnderflowException
,PsyStream
,PsyString
,PsyStringReader
,PsyStringWriter
,PsySyntaxErrorException
,PsySystemDict
,PsyTypeCheckException
,PsyUndefinedException
,PsyUndefinedResultException
,PsyUnmatchedMarkException
,PsyUnregisteredException
,PsyUnsupportedException
,PsyWriter
A representation of an
object
, a generic Psylla object.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault PsyString
default void
execute
(PsyContext oContext) Execute this object in the given execution context.default void
invoke
(PsyContext oContext) Invoke this object in the given execution context.default PsyObject
psyClone()
Returns a clone of this object.default PsyBoolean
default PsyInteger
Returns aninteger
hash code for this object.default PsyBoolean
psyInstanceOf
(PsyTextual oTypeName) default PsyBoolean
default PsyName
default PsyName
Returns aname
representing this object.default PsyString
Returns astring
representing this object.default PsyName
psyType()
default String
default String
typeName()
Returns a string representation of a type name.
-
Field Details
-
OPERATORS
-
-
Method Details
-
typeName
Returns a string representation of a type name.- Returns:
- TODO a string
"object"
.
-
psyType
-
execute
Execute this object in the given execution context. Pushes this object into context’s operand stack.- Parameters:
oContext
- the execution context.
-
invoke
Invoke this object in the given execution context. Pushes this object into context’s operand stack.- Parameters:
oContext
- the execution context.
-
psyEq
-
psyNe
-
psyClone
Returns a clone of this object.- Returns:
- a clone of this object.
-
psySyntax
-
psyToString
Returns astring
representing this object.- Specified by:
psyToString
in interfacePsyConvertableToString
- Returns:
- a
string
representing this object.
-
psyToName
Returns aname
representing this object.- Specified by:
psyToName
in interfacePsyConvertableToName
- Returns:
- a
name
representing this object.
-
toSyntaxString
-
convert
-
psyInstanceOf
-
psyHashCode
Returns aninteger
hash code for this object.- Returns:
- an
integer
hash code for this object.
-