A constant complex value.
Import path
import codeql.ruby.AST
Direct supertypes
Indirect supertypes
Inherited predicates
getBoolean | Gets the Boolean value, if this is a Boolean. | from ConstantValue |
getFloat | Gets the float value, if this is a float. | from ConstantValue |
getInt | Gets the integer value, if this is an integer. | from ConstantValue |
getRegExp | Gets the regexp value, if this is a regexp. | from ConstantValue |
getString | Gets the string value, if this is a string. | from ConstantValue |
getStringlikeValue | Gets the string/symbol/regexp value, if any. | from ConstantValue |
getSymbol | Gets the symbol value (excluding the | from ConstantValue |
getValueType | Gets a string describing the type of this constant value. | from ConstantValue |
isBoolean | Holds if this is the Boolean value | from ConstantValue |
isComplex | Holds if this is the complex value | from ConstantValue |
isFloat | Holds if this is the float value | from ConstantValue |
isInt | Holds if this is the integer value | from ConstantValue |
isNil | Holds if this is the | from ConstantValue |
isRational | Holds if this is the rational value | from ConstantValue |
isRegExp | Holds if this is the regexp value | from ConstantValue |
isRegExpWithFlags | Holds if this is the regexp value | from ConstantValue |
isString | Holds if this is the string value | from ConstantValue |
isStringlikeValue | Holds if this is: - the string value | from ConstantValue |
isSymbol | Holds if this is the symbol value | from ConstantValue |
serialize | Gets a (unique) serialized version of this value. | from ConstantValue |
toString | Gets a textual representation of this constant value. | from ConstantValue |