| Modifier and Type | Method and Description |
|---|---|
void |
assertNonEmpty()
Checks that this value is non-empty (or polymorphic).
|
void |
diff(Value old,
StringBuilder b)
Returns a description of the changes from the old value to this value.
|
boolean |
equals(Object obj)
Checks whether the given object is equal to this one.
|
Double |
getNum()
Returns the singleton number value, or null if definitely not a singleton number.
|
static int |
getNumberOfObjectSetCacheHits()
Returns the number of object set cache hits.
|
static int |
getNumberOfObjectSetCacheMisses()
Returns the number of object set cache misses.
|
static int |
getNumberOfValueCacheHits()
Returns the number of value cache hits.
|
static int |
getNumberOfValueCacheMisses()
Returns the number of value cache misses.
|
Set<ObjectLabel> |
getObjectLabels()
Returns the (immutable) set of object labels.
|
static int |
getObjectSetCacheSize()
Returns the object set cache size.
|
List<SourceLocation> |
getObjectSourceLocations()
Returns the source locations of the objects in this value.
|
String |
getPrefix()
Returns the prefix value, or null if definitely not a fixed nonempty string followed by identifier parts.
|
PropertyReference |
getPropertyReference()
Returns the property reference.
|
String |
getStr()
Returns the singleton string value, or null if definitely not a singleton string.
|
static int |
getValueCacheSize()
Returns the value cache size.
|
boolean |
hasDontDelete()
Returns true if this value has DontDelete information.
|
boolean |
hasDontEnum()
Returns true if this value has DontEnum information.
|
int |
hashCode()
Returns the hash code for this value.
|
boolean |
hasReadOnly()
Returns true if this value has ReadOnly information.
|
boolean |
isDontDelete()
Returns true is this value belongs to a property which definitely has DontDelete set.
|
boolean |
isDontEnum()
Returns true is this value belongs to a property which definitely has DontEnum set.
|
boolean |
isExtendedScope()
Returns true if this value is marked as having extended scope.
|
boolean |
isMaybeAbsent()
Returns true if this value belongs to a maybe absent property.
|
boolean |
isMaybeAnyBool()
Returns true if this value is maybe any boolean.
|
boolean |
isMaybeAnyNum()
Returns true if this value is maybe any number.
|
boolean |
isMaybeAnyStr()
Returns true if this value is maybe any string.
|
boolean |
isMaybeDontDelete()
Returns true is this value belongs to a property which maybe has DontDelete set.
|
boolean |
isMaybeDontEnum()
Returns true is this value belongs to a property which maybe has DontEnum set.
|
boolean |
isMaybeFalse()
Returns true if this value is maybe false.
|
boolean |
isMaybeFalseButNotTrue()
Returns true if this value is maybe false.
|
boolean |
isMaybeFuzzyNum()
Returns true if this value is maybe a non-singleton number or NaN or +/-Inf.
|
boolean |
isMaybeFuzzyStr()
Returns true if this value is maybe a non-singleton string.
|
boolean |
isMaybeInf()
Returns true if this value is maybe infinite.
|
boolean |
isMaybeModified()
Checks whether this value is marked as maybe modified.
|
boolean |
isMaybeNaN()
Returns true if this value is maybe NaN.
|
boolean |
isMaybeNotDontDelete()
Returns true is this value belongs to a property which maybe does not have DontDelete set.
|
boolean |
isMaybeNotDontEnum()
Returns true is this value belongs to a property which maybe does not have DontEnum set.
|
boolean |
isMaybeNotReadOnly()
Returns true is this value belongs to a property which maybe does not have ReadOnly set.
|
boolean |
isMaybeNull()
Returns true if this value is maybe null.
|
boolean |
isMaybeNumOther()
Returns true if this value is maybe any non-UInt, non-Inf, non-NaN number.
|
boolean |
isMaybeNumUInt()
Returns true if this value is maybe any UInt number.
|
boolean |
isMaybeObject()
Returns true if this value maybe represents an object.
|
boolean |
isMaybeOtherThanBool()
Returns true if this value is maybe a non-boolean.
|
boolean |
isMaybeOtherThanNull()
Returns true if this value is maybe some other than null.
|
boolean |
isMaybeOtherThanNum()
Returns true if this value is maybe a non-number.
|
boolean |
isMaybeOtherThanNumUInt()
Returns true if this value is maybe not an UInt-number.
|
boolean |
isMaybeOtherThanObject()
Returns true if this value maybe represents something that isn't a object.
|
boolean |
isMaybeOtherThanStr()
Returns true if this value may be a non-string.
|
boolean |
isMaybeOtherThanUndef()
Returns true if this value is maybe some other than undefined.
|
boolean |
isMaybePresent()
Returns true if this value is maybe present.
|
boolean |
isMaybePresentOrUnknown()
Returns true if this value is maybe present or 'unknown'.
|
boolean |
isMaybePrimitive()
Returns true if this value may be a non-object, including undefined and null.
|
boolean |
isMaybeReadOnly()
Returns true is this value belongs to a property which maybe has ReadOnly set.
|
boolean |
isMaybeSingleNum()
Returns true if this value is maybe a singleton number, excluding NaN and +/-Inf.
|
boolean |
isMaybeSingleNumUInt()
Returns true if this value is maybe a singleton UInt number.
|
boolean |
isMaybeSingleStr()
Returns true if value is maybe a singleton string.
|
boolean |
isMaybeStr(String s)
Checks whether the given string is matched by this value.
|
boolean |
isMaybeStrIdentifier()
Returns true if this value is maybe any identifier string.
|
boolean |
isMaybeStrIdentifierParts()
Returns true if this value is maybe any string consisting of identifier parts.
|
boolean |
isMaybeStrJSON()
Returns true if this value maybe originates from a JSON source.
|
boolean |
isMaybeStrOnlyUInt()
Returns true if this value is maybe any UInt string but not a non-UInt string.
|
boolean |
isMaybeStrOther()
Returns true if this value is maybe any non-number, non-identifier-parts string.
|
boolean |
isMaybeStrOtherNum()
Returns true if this value is maybe any (unbounded) non-UInt number string, including Infinity, -Infinity, and NaN.
|
boolean |
isMaybeStrPrefixedIdentifierParts()
Returns true if this value is maybe a fixed nonempty string followed by identifier parts.
|
boolean |
isMaybeStrSomeNonUInt()
Returns true if this value is maybe a non-UInt string.
|
boolean |
isMaybeStrSomeUInt()
Returns true if this value is maybe *some* UInt string.
|
boolean |
isMaybeStrUInt()
Returns true if this value is maybe *any* UInt string.
|
boolean |
isMaybeTrue()
Returns true if this value is maybe true.
|
boolean |
isMaybeTrueButNotFalse()
Returns true if this value is maybe true.
|
boolean |
isMaybeUndef()
Returns true if this value is maybe undefined.
|
boolean |
isNaN()
Returns true if this value is definitely NaN.
|
boolean |
isNone()
Returns true if this is the abstract value representing no concrete values.
|
boolean |
isNotAbsent()
Returns true if this value belongs to a definitely present property.
|
boolean |
isNotBool()
Returns true if this value is definitely not a boolean.
|
boolean |
isNotDontDelete()
Returns true is this value belongs to a property which definitely does not have DontDelete set.
|
boolean |
isNotDontEnum()
Returns true is this value belongs to a property which definitely does not have DontEnum set.
|
boolean |
isNotNull()
Returns true if this value is definitely not null.
|
boolean |
isNotNum()
Returns true if this value is definitely not a number.
|
boolean |
isNotPresent()
Returns true if this value is definitely not present.
|
boolean |
isNotReadOnly()
Returns true is this value belongs to a property which definitely does not have ReadOnly set.
|
boolean |
isNotStr()
Returns true if this value is definitely not a string.
|
boolean |
isNotUndef()
Returns true if this value is definitely not undefined.
|
boolean |
isNullOrUndef()
Returns true if this value is definitely null or undefined.
|
boolean |
isPolymorphic()
Checks whether this value is polymorphic.
|
boolean |
isPolymorphicOrUnknown()
Checks whether this value is polymorphic or 'unknown'.
|
boolean |
isReadOnly()
Returns true is this value belongs to a property which definitely has ReadOnly set.
|
boolean |
isStrIdentifier()
Returns true if this value is definitely an identifier string.
|
boolean |
isStrIdentifierOrIdentifierParts()
Returns true if this value is definitely an identifier or identifier-parts string.
|
boolean |
isStrJSON()
Returns true if this value is definitely originating from a JSON source.
|
boolean |
isUnknown()
Returns true if this value is 'unknown'.
|
static Value |
join(Iterable<Value> values)
Constructs a value as the join of the given collection of values.
|
static Value |
join(Value... values)
Constructs a value as the join of the given collection of values.
|
Value |
join(Value v)
Constructs a value as the join of this value and the given value.
|
Value |
join(Value v,
boolean set_modified)
Constructs a value as the join of this value and the given value.
|
Value |
joinAbsent()
Constructs a value as a copy of this value but marked as maybe absent.
|
Value |
joinAbsentWithModified()
Constructs a value as a copy of this value but marked as maybe absent
and marks it as maybe modified if the resulting value is different from this value.
|
Value |
joinAnyBool()
Constructs a value as the join of this value and maybe any boolean.
|
Value |
joinAnyNum()
Constructs a value as the join of this value and maybe any number.
|
Value |
joinAnyNumOther()
Constructs a value as the join of this value and maybe any non-UInt number (excluding NaN and +/-Infinity).
|
Value |
joinAnyNumUInt()
Constructs a value as the join of this value and maybe any UInt number.
|
Value |
joinAnyStr()
Constructs a value as the join of this value and maybe any string.
|
Value |
joinAnyStrIdentifier()
Constructs a value as the join of this value and maybe any identifier string.
|
Value |
joinAnyStrIdentifierParts()
Constructs a value as the join of this value and maybe any identifier-parts string.
|
Value |
joinAnyStrOther()
Constructs a value as the join of this value and maybe any non-number, non-identifier-parts string (including NaN and +/-Infinity).
|
Value |
joinAnyStrOtherNum()
Constructs a value as the join of this value and maybe any non-UInt number string (excluding NaN and +/-Infinity).
|
Value |
joinAnyStrUInt()
Constructs a value as the join of this value and maybe any UInt string.
|
Value |
joinBool(boolean x)
Constructs a value as the join of this value and the given concrete boolean value.
|
Value |
joinBool(Value x)
Constructs a value as the join of this value and the given concrete boolean value.
|
Value |
joinModified()
Constructs a value as a copy of this value but marked as maybe modified.
|
Value |
joinNotDontDelete()
Constructs a value as a copy of this value but with DontDelete maybe not set.
|
Value |
joinNotDontEnum()
Constructs a value as a copy of this value but with DontEnum maybe not set.
|
Value |
joinNotReadOnly()
Constructs a value as a copy of this value but with ReadOnly maybe not set.
|
Value |
joinNull()
Constructs a value as the join of this value and maybe null.
|
Value |
joinNum(double v)
Constructs a value as the join of this value and the given concrete number.
|
Value |
joinNumInf()
Constructs a value as the join of this value and +/-Inf.
|
Value |
joinNumNaN()
Constructs a value as the join of this value and NaN.
|
Value |
joinObject(ObjectLabel objlabel)
Constructs a value as the join of this value and the given object label.
|
Value |
joinPrefixedIdentifierParts(String s)
Constructs a value as the join of this value and the given prefixed identifier-parts string.
|
Value |
joinStr(String s)
Constructs a value as the join of this value and the given concrete string.
|
Value |
joinUndef()
Constructs a value as the join of this value and maybe undefined.
|
Value |
joinWithModified(Value v)
Constructs a value as the join of this value and the given value
and marks it as maybe modified if the resulting value is different from this value.
|
static Value |
makeAbsent()
Constructs the absent value.
|
static Value |
makeAbsentModified()
Constructs the absent modified value.
|
static Value |
makeAnyBool()
Constructs the value representing any boolean.
|
static Value |
makeAnyNum()
Constructs the value describing any number.
|
static Value |
makeAnyNumNotNaNInf()
Constructs the value describing number except NaN and infinity.
|
static Value |
makeAnyNumOther()
Constructs the value describing any non-UInt, non-+/-Inf, non-NaN number.
|
static Value |
makeAnyNumUInt()
Constructs the value describing any UInt number.
|
static Value |
makeAnyStr()
Constructs the value describing any string.
|
static Value |
makeAnyStrNotUInt()
Constructs the value describing any non-UInt string.
|
static Value |
makeAnyStrUInt()
Constructs the value describing any UInt string.
|
static Value |
makeBool(Bool b)
Constructs the value describing the given Bool.
|
static Value |
makeBool(boolean b)
Constructs the value describing the given boolean.
|
Value |
makeExtendedScope()
Returns a value as this one but marked as having extended scope.
|
static Value |
makeJSONStr()
Constructs the value describing any JSON string.
|
static Value |
makeNone()
Constructs the empty abstract value (= bottom, if not considering 'unknown').
|
static Value |
makeNull()
Constructs the value describing definitely null.
|
static Value |
makeNum(double d)
Constructs the value describing the given number.
|
static Value |
makeNumInf()
Constructs the value describing +/-Inf.
|
static Value |
makeNumNaN()
Constructs the value describing NaN.
|
static Value |
makeObject(ObjectLabel v)
Constructs the value describing the given object label.
|
static Value |
makeObject(Set<ObjectLabel> v)
Constructs the value describing the given object labels.
|
static Value |
makePolymorphic(PropertyReference var,
Value v)
Constructs a fresh polymorphic value.
|
static Value |
makeStr(String s)
Constructs the value describing the given string.
|
static Str |
makeTemporaryStr(String s)
Constructs a temporary value describing the given string.
|
static Value |
makeUndef()
Constructs the value describing definitely undefined.
|
static Value |
makeUnknown()
Constructs the unknown value.
|
String |
printAttributes()
Produces a string description of the attributes of this value.
|
Value |
remove(Value v)
Returns a copy of this value where all parts that are also in the given value have been removed.
|
Value |
removeAttributes()
Constructs a value as a copy of the given value but with all attributes definitely not set.
|
Value |
replaceObjectLabel(ObjectLabel oldlabel,
ObjectLabel newlabel)
Returns a copy of this value where the given object label has been replaced, if present.
|
Value |
replaceObjectLabels(Map<ObjectLabel,ObjectLabel> m)
Returns a copy of this value where the object labels have been replaced according to the given map.
|
static void |
reset()
Resets the cache.
|
Value |
restrictTo(Value v)
Constructs a value as a copy of this value but restricted according to the given value.
|
Value |
restrictToBool()
Constructs a value from this value where only the boolean facet is considered.
|
Value |
restrictToNotAbsent()
Constructs a value as a copy of this value but definitely not absent.
|
Value |
restrictToNotModified()
Constructs a value as a copy of this value but marked as definitely not modified.
|
Value |
restrictToNotNaN()
Constructs a value as a copy of this value but definitely not NaN.
|
Value |
restrictToNotNull()
Constructs a value as a copy of this value but definitely not null.
|
Value |
restrictToNotNullNotUndef()
Constructs a value as a copy of this value but definitely not null nor undefined.
|
Value |
restrictToNotNum()
Constructs a value from this value but definitely not a number.
|
Value |
restrictToNotObject()
Constructs a value as a copy of this value but only with non-object values.
|
Value |
restrictToNotStr()
Constructs a value from this value but definitely not a string.
|
Value |
restrictToNotUndef()
Constructs a value as a copy of this value but definitely not undefined.
|
Value |
restrictToNull()
Constructs a value as a copy of this value but only considering its null facet.
|
Value |
restrictToNum()
Constructs a value from this value where only the number facet is considered.
|
Value |
restrictToObject()
Constructs a value as a copy of this value but only with object values.
|
Value |
restrictToStr()
Constructs a value from this value where only the string facet is considered.
|
Value |
restrictToStrBoolNum()
Constructs a value from this value where only the string/boolean/number facets are considered.
|
Value |
restrictToUndef()
Constructs a value as a copy of this value but only considering its undefined facet.
|
Value |
setAttributes(boolean dontenum,
boolean dontdelete,
boolean readonly)
Constructs a value as a copy of this value but with the given attributes.
|
Value |
setAttributes(Value from)
Constructs a value as a copy of this value but with attributes set as in the given value.
|
Value |
setBottomAttributes()
Constructs a value as a copy of this value but with no attribute information.
|
Value |
setBottomPropertyData()
Constructs a value as a copy of this value but with no information that only makes sense for object property values.
|
Value |
setDontDelete()
Constructs a value as a copy of this value but with DontDelete definitely set.
|
Value |
setDontEnum()
Constructs a value as a copy of this value but with DontEnum definitely set.
|
Value |
setModifiedFrom(Value v)
Constructs a copy of this value with the modified flag from the given value.
|
Value |
setNotDontDelete()
Constructs a value as a copy of this value but with DontDelete definitely not set.
|
Value |
setNotDontEnum()
Constructs a value as a copy of this value but with DontEnum definitely not set.
|
Value |
setNotReadOnly()
Constructs a value as a copy of this value but with ReadOnly definitely not set.
|
Value |
setReadOnly()
Constructs a value as a copy of this value but with ReadOnly definitely set.
|
Value |
summarize(Summarized s)
Constructs a value as a copy of this value but with object labels summarized.
|
String |
toString()
Produces a string description of this value.
|
Value |
trim(Value v)
Constructs a value by trimming this value according to the given value.
|
int |
typeSize()
Returns the number of different types of this value.
|
public void assertNonEmpty()
AnalysisException - if emptypublic void diff(Value old, StringBuilder b)
old - The old value to diff against.b - The string builder to print the diff to.public boolean equals(Object obj)
public Double getNum()
Numpublic static int getNumberOfObjectSetCacheHits()
public static int getNumberOfObjectSetCacheMisses()
public static int getNumberOfValueCacheHits()
public static int getNumberOfValueCacheMisses()
public Set<ObjectLabel> getObjectLabels()
public static int getObjectSetCacheSize()
public List<SourceLocation> getObjectSourceLocations()
public String getPrefix()
Strpublic PropertyReference getPropertyReference()
public String getStr()
Strpublic static int getValueCacheSize()
public boolean hasDontDelete()
public boolean hasDontEnum()
public int hashCode()
public boolean hasReadOnly()
public boolean isDontDelete()
public boolean isDontEnum()
public boolean isExtendedScope()
public boolean isMaybeAbsent()
public boolean isMaybeAnyBool()
BoolisMaybeAnyBool in interface Boolpublic boolean isMaybeAnyNum()
NumisMaybeAnyNum in interface Numpublic boolean isMaybeAnyStr()
StrisMaybeAnyStr in interface Strpublic boolean isMaybeDontDelete()
public boolean isMaybeDontEnum()
public boolean isMaybeFalse()
BoolisMaybeFalse in interface Boolpublic boolean isMaybeFalseButNotTrue()
BoolisMaybeFalseButNotTrue in interface Boolpublic boolean isMaybeFuzzyNum()
NumisMaybeFuzzyNum in interface Numpublic boolean isMaybeFuzzyStr()
StrisMaybeFuzzyStr in interface Strpublic boolean isMaybeInf()
NumisMaybeInf in interface Numpublic boolean isMaybeModified()
public boolean isMaybeNaN()
NumisMaybeNaN in interface Numpublic boolean isMaybeNotDontDelete()
public boolean isMaybeNotDontEnum()
public boolean isMaybeNotReadOnly()
public boolean isMaybeNull()
NullisMaybeNull in interface Nullpublic boolean isMaybeNumOther()
NumisMaybeNumOther in interface Numpublic boolean isMaybeNumUInt()
NumisMaybeNumUInt in interface Numpublic boolean isMaybeObject()
public boolean isMaybeOtherThanBool()
BoolisMaybeOtherThanBool in interface Boolpublic boolean isMaybeOtherThanNull()
NullisMaybeOtherThanNull in interface Nullpublic boolean isMaybeOtherThanNum()
NumisMaybeOtherThanNum in interface Numpublic boolean isMaybeOtherThanNumUInt()
NumisMaybeOtherThanNumUInt in interface Numpublic boolean isMaybeOtherThanObject()
public boolean isMaybeOtherThanStr()
StrisMaybeOtherThanStr in interface Strpublic boolean isMaybeOtherThanUndef()
UndefisMaybeOtherThanUndef in interface Undefpublic boolean isMaybePresent()
public boolean isMaybePresentOrUnknown()
public boolean isMaybePrimitive()
public boolean isMaybeReadOnly()
public boolean isMaybeSingleNum()
NumisMaybeSingleNum in interface Numpublic boolean isMaybeSingleNumUInt()
NumisMaybeSingleNumUInt in interface Numpublic boolean isMaybeSingleStr()
StrisMaybeSingleStr in interface Strpublic boolean isMaybeStr(String s)
StrisMaybeStr in interface Strpublic boolean isMaybeStrIdentifier()
StrisMaybeStrIdentifier in interface Strpublic boolean isMaybeStrIdentifierParts()
StrisMaybeStrIdentifierParts in interface Strpublic boolean isMaybeStrJSON()
StrisMaybeStrJSON in interface Strpublic boolean isMaybeStrOnlyUInt()
StrisMaybeStrOnlyUInt in interface Strpublic boolean isMaybeStrOther()
StrisMaybeStrOther in interface Strpublic boolean isMaybeStrOtherNum()
StrisMaybeStrOtherNum in interface Strpublic boolean isMaybeStrPrefixedIdentifierParts()
StrisMaybeStrPrefixedIdentifierParts in interface Strpublic boolean isMaybeStrSomeNonUInt()
StrisMaybeStrSomeNonUInt in interface Strpublic boolean isMaybeStrSomeUInt()
StrisMaybeStrSomeUInt in interface Strpublic boolean isMaybeStrUInt()
StrisMaybeStrUInt in interface Strpublic boolean isMaybeTrue()
BoolisMaybeTrue in interface Boolpublic boolean isMaybeTrueButNotFalse()
BoolisMaybeTrueButNotFalse in interface Boolpublic boolean isMaybeUndef()
UndefisMaybeUndef in interface Undefpublic boolean isNaN()
Numpublic boolean isNone()
public boolean isNotAbsent()
public boolean isNotBool()
Boolpublic boolean isNotDontDelete()
public boolean isNotDontEnum()
public boolean isNotNull()
Nullpublic boolean isNotNum()
Numpublic boolean isNotPresent()
public boolean isNotReadOnly()
public boolean isNotStr()
Strpublic boolean isNotUndef()
UndefisNotUndef in interface Undefpublic boolean isNullOrUndef()
public boolean isPolymorphic()
public boolean isPolymorphicOrUnknown()
public boolean isReadOnly()
public boolean isStrIdentifier()
StrisStrIdentifier in interface Strpublic boolean isStrIdentifierOrIdentifierParts()
StrisStrIdentifierOrIdentifierParts in interface Strpublic boolean isStrJSON()
Strpublic boolean isUnknown()
public static Value join(Iterable<Value> values)
public static Value join(Value... values)
public Value join(Value v, boolean set_modified)
set_modified - if true, the resulting value is marked as maybe modified if different from this value.public Value joinAbsent()
public Value joinAbsentWithModified()
public Value joinAnyBool()
BooljoinAnyBool in interface Boolpublic Value joinAnyNum()
NumjoinAnyNum in interface Numpublic Value joinAnyNumOther()
NumjoinAnyNumOther in interface Numpublic Value joinAnyNumUInt()
NumjoinAnyNumUInt in interface Numpublic Value joinAnyStr()
StrjoinAnyStr in interface Strpublic Value joinAnyStrIdentifier()
StrjoinAnyStrIdentifier in interface Strpublic Value joinAnyStrIdentifierParts()
StrjoinAnyStrIdentifierParts in interface Strpublic Value joinAnyStrOther()
StrjoinAnyStrOther in interface Strpublic Value joinAnyStrOtherNum()
StrjoinAnyStrOtherNum in interface Strpublic Value joinAnyStrUInt()
StrjoinAnyStrUInt in interface Strpublic Value joinBool(boolean x)
Boolpublic Value joinBool(Value x)
Boolpublic Value joinModified()
public Value joinNotDontDelete()
public Value joinNotDontEnum()
public Value joinNotReadOnly()
public Value joinNull()
Nullpublic Value joinNum(double v)
Numpublic Value joinNumInf()
NumjoinNumInf in interface Numpublic Value joinNumNaN()
NumjoinNumNaN in interface Numpublic Value joinObject(ObjectLabel objlabel)
public Value joinPrefixedIdentifierParts(String s)
StrjoinPrefixedIdentifierParts in interface Strpublic Value joinStr(String s)
Strpublic Value joinUndef()
Undefpublic Value joinWithModified(Value v)
public static Value makeAbsent()
public static Value makeAbsentModified()
public static Value makeAnyBool()
public static Value makeAnyNum()
public static Value makeAnyNumNotNaNInf()
public static Value makeAnyNumOther()
public static Value makeAnyNumUInt()
public static Value makeAnyStr()
public static Value makeAnyStrNotUInt()
public static Value makeAnyStrUInt()
public static Value makeBool(boolean b)
public Value makeExtendedScope()
public static Value makeJSONStr()
public static Value makeNone()
public static Value makeNull()
public static Value makeNum(double d)
public static Value makeNumInf()
public static Value makeNumNaN()
public static Value makeObject(ObjectLabel v)
public static Value makeObject(Set<ObjectLabel> v)
public static Value makePolymorphic(PropertyReference var, Value v)
public static Str makeTemporaryStr(String s)
public static Value makeUndef()
public static Value makeUnknown()
public String printAttributes()
public Value remove(Value v)
public Value removeAttributes()
public Value replaceObjectLabel(ObjectLabel oldlabel, ObjectLabel newlabel)
oldlabel - The object label to replace.newlabel - The object label to replace oldlabel with.public Value replaceObjectLabels(Map<ObjectLabel,ObjectLabel> m)
m - A map between old object labels and new object labels.public static void reset()
public Value restrictTo(Value v)
public Value restrictToBool()
public Value restrictToNotAbsent()
public Value restrictToNotModified()
public Value restrictToNotNaN()
NumrestrictToNotNaN in interface Numpublic Value restrictToNotNull()
NullrestrictToNotNull in interface Nullpublic Value restrictToNotNullNotUndef()
public Value restrictToNotNum()
NumrestrictToNotNum in interface Numpublic Value restrictToNotObject()
public Value restrictToNotStr()
StrrestrictToNotStr in interface Strpublic Value restrictToNotUndef()
UndefrestrictToNotUndef in interface Undefpublic Value restrictToNull()
NullrestrictToNull in interface Nullpublic Value restrictToNum()
NumrestrictToNum in interface Numpublic Value restrictToObject()
public Value restrictToStr()
StrrestrictToStr in interface Strpublic Value restrictToStrBoolNum()
public Value restrictToUndef()
UndefrestrictToUndef in interface Undefpublic Value setAttributes(boolean dontenum, boolean dontdelete, boolean readonly)
public Value setAttributes(Value from)
public Value setBottomAttributes()
public Value setBottomPropertyData()
public Value setDontDelete()
public Value setDontEnum()
public Value setModifiedFrom(Value v)
public Value setNotDontDelete()
public Value setNotDontEnum()
public Value setNotReadOnly()
public Value setReadOnly()
public Value summarize(Summarized s)
public String toString()
public Value trim(Value v)
public int typeSize()
Copyright © 2012 Aarhus University