implicit final class ValueOps extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValueOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def asBigInt: Value[SBigInt.type]
- def asBoolValue: Value[SBoolean.type]
- def asBox: Value[SBox.type]
- def asByteArray: Value[SByteArray]
- def asByteValue: Value[SByte.type]
- def asCollection[T <: SType]: Value[SCollection[T]]
- def asConcreteCollection[T <: SType]: ConcreteCollection[T]
- def asFunc: Value[SFunc]
- def asGroupElement: Value[SGroupElement.type]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asIntArray: Value[SIntArray]
- def asIntValue: Value[SInt.type]
- def asLongValue: Value[SLong.type]
- def asNumValue: Value[SNumericType]
- def asOption[T <: SType]: Value[SOption[T]]
- def asShortValue: Value[SShort.type]
- def asSigmaProp: Value[SSigmaProp.type]
- def asStringValue: Value[SString.type]
- def asTuple: Value[STuple]
- def asValue[T <: SType]: Value[T]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any
- def upcastTo[T <: SNumericType](targetType: T): Value[T]
- val v: Value[SType]
-
def
withEnsuredSrcCtx[T <: SType](sourceContext: Nullable[SourceContext]): Value[T]
Set source context only if it's empty
-
def
withPropagatedSrcCtx[T <: SType](srcCtx: Nullable[SourceContext]): Value[T]
Set source context to all nodes missing source context in the given tree.
Set source context to all nodes missing source context in the given tree.
- srcCtx
source context to set
- returns
AST where all nodes with missing source context are set to the given srcCtx
- def withSrcCtx[T <: SType](sourceContext: Nullable[SourceContext]): Value[T]