Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Expr.Visitor<R>) - Method in interface technology.sola.script.parser.Expr
-
Evaluate this expression via the desired
Expr.Visitor
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Assign
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Binary
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Call
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.CallOptional
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Get
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.GetOptional
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Grouping
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Literal
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Logical
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Set
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Ternary
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Unary
- accept(Expr.Visitor<R>) - Method in record class technology.sola.script.parser.Expr.Variable
- accept(Stmt.Visitor<R>) - Method in interface technology.sola.script.parser.Stmt
-
Executes this statement via the desired
Stmt.Visitor
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.Block
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.Expression
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.Function
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.If
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.Return
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.Val
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.Var
- accept(Stmt.Visitor<R>) - Method in record class technology.sola.script.parser.Stmt.While
- addError(ScriptError) - Method in class technology.sola.script.error.ErrorContainer
-
Adds an error to the collection.
- addErrors(Collection<ScriptError>) - Method in class technology.sola.script.error.ErrorContainer
-
Adds a collection of errors to the collection.
- ALREADY_DEFINED_VARIABLE - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Semantic error when a variable was already defined in this scope.
- AMP_AMP - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- arguments() - Method in record class technology.sola.script.parser.Expr.Call
-
Returns the value of the
arguments
record component. - arguments() - Method in record class technology.sola.script.parser.Expr.CallOptional
-
Returns the value of the
arguments
record component. - arity() - Method in interface technology.sola.script.runtime.SolaScriptCallable
-
The number of expected arguments.
- arity() - Method in class technology.sola.script.runtime.SolaScriptFunction
- assign(Expr.Assign) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Assign
expression and returns the value. - Assign(Token, Expr) - Constructor for record class technology.sola.script.parser.Expr.Assign
-
Creates an instance of a
Assign
record class. - assignVariable(Expr.Assign, Object) - Method in class technology.sola.script.runtime.ScriptRuntime
-
Assigns a variable's value utilizing the variable resolutions in the
ScopeTable
for the runtime.
B
- BANG - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- BANG_EQUAL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- BAR_BAR - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- beginScope() - Method in class technology.sola.script.runtime.ScopeTable
-
Begins a new scope for variables to be resolved.
- binary(Expr.Binary) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Binary
expression and returns the value. - Binary(Expr, Token, Expr) - Constructor for record class technology.sola.script.parser.Expr.Binary
-
Creates an instance of a
Binary
record class. - block(Stmt.Block) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes a
Stmt.Block
and returns the value. - Block(List<Stmt>) - Constructor for record class technology.sola.script.parser.Stmt.Block
-
Creates an instance of a
Block
record class. - body() - Method in record class technology.sola.script.parser.Stmt.Function
-
Returns the value of the
body
record component. - body() - Method in record class technology.sola.script.parser.Stmt.While
-
Returns the value of the
body
record component.
C
- call(List<Object>) - Method in interface technology.sola.script.runtime.SolaScriptCallable
-
Calls the function passing along the arguments for the call and returning an evaluated value.
- call(List<Object>) - Method in class technology.sola.script.runtime.SolaScriptFunction
- call(Expr.Call) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Call
expression and returns the value. - Call(Expr, Token, List<Expr>) - Constructor for record class technology.sola.script.parser.Expr.Call
-
Creates an instance of a
Call
record class. - callee() - Method in record class technology.sola.script.parser.Expr.Call
-
Returns the value of the
callee
record component. - callee() - Method in record class technology.sola.script.parser.Expr.CallOptional
-
Returns the value of the
callee
record component. - callOptional(Expr.CallOptional) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.CallOptional
expression and returns the value. - CallOptional(Expr, Token, List<Expr>) - Constructor for record class technology.sola.script.parser.Expr.CallOptional
-
Creates an instance of a
CallOptional
record class. - CANNOT_ASSIGN_TO_CONSTANT - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Semantic error when a constant is attempted to be assigned to.
- CANNOT_RETURN_FROM_TOP_LEVEL - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Semantic error when a return statement is found outside a function or method body.
- clock() - Method in class technology.sola.script.library.StandardLibraryScriptModule
-
clock
- COLON - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- column() - Method in record class technology.sola.script.error.ScriptError
-
Returns the value of the
column
record component. - column() - Method in record class technology.sola.script.tokenizer.Token
-
Returns the value of the
column
record component. - COMMA - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- condition() - Method in record class technology.sola.script.parser.Expr.Ternary
-
Returns the value of the
condition
record component. - condition() - Method in record class technology.sola.script.parser.Stmt.If
-
Returns the value of the
condition
record component. - condition() - Method in record class technology.sola.script.parser.Stmt.While
-
Returns the value of the
condition
record component. - constants() - Method in interface technology.sola.script.library.ScriptModule
-
Gets the constant definitions within this module.
- constants() - Method in class technology.sola.script.library.StandardLibraryScriptModule
- createNestedEnvironment() - Method in class technology.sola.script.runtime.ScriptRuntime
-
Creates a nested environment with the previous environment as its parent.
D
- declare(Token) - Method in class technology.sola.script.runtime.ScopeTable
-
Marks a variable as declared for the current scope.
- define(String) - Method in class technology.sola.script.runtime.ScopeTable
-
Marks a variable is defined for the current scope.
- define(Token) - Method in class technology.sola.script.runtime.ScopeTable
-
Marks a variable is defined for the current scope.
- defineConstant(String, Object) - Method in class technology.sola.script.runtime.ScriptRuntime
-
Defines a constant with desired value in the current environment.
- defineVariable(String, Object) - Method in class technology.sola.script.runtime.ScriptRuntime
-
Defines a variable with desired value in the current environment.
- DOT - Enum constant in enum class technology.sola.script.tokenizer.TokenType
E
- ELSE - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- elseBranch() - Method in record class technology.sola.script.parser.Stmt.If
-
Returns the value of the
elseBranch
record component. - endScope() - Method in class technology.sola.script.runtime.ScopeTable
-
Ends the current scope for variables to be resolved.
- EnvironmentHandle - Class in technology.sola.script.runtime
-
EnvironmentHandle holds an internal reference to environment state information where variable values are stored.
- EOF - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- EQUAL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- EQUAL_EQUAL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- equals(Object) - Method in record class technology.sola.script.error.ScriptError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Assign
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Binary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Call
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.CallOptional
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Get
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.GetOptional
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Grouping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Literal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Logical
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Set
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Ternary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Unary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Expr.Variable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.ParserResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.Block
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.Expression
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.Function
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.If
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.Return
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.Val
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.Var
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.parser.Stmt.While
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.tokenizer.Token
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.script.tokenizer.TokenizeResult
-
Indicates whether some other object is "equal to" this one.
- errorArgs() - Method in record class technology.sola.script.error.ScriptError
-
Returns the value of the
errorArgs
record component. - ErrorContainer - Class in technology.sola.script.error
-
ErrorContainer contains a list of
ScriptError
s found for a particular script. - ErrorContainer() - Constructor for class technology.sola.script.error.ErrorContainer
- errors() - Method in record class technology.sola.script.parser.ParserResult
-
Returns the value of the
errors
record component. - errors() - Method in record class technology.sola.script.tokenizer.TokenizeResult
-
Returns the value of the
errors
record component. - errorsArgs - Variable in exception technology.sola.script.error.ScriptInterpretationException
-
The additional details about the error.
- errorType - Variable in exception technology.sola.script.error.ScriptInterpretationException
-
The
ScriptErrorType
of the error. - Exception(Object) - Constructor for exception technology.sola.script.parser.Stmt.Return.Exception
-
Creates an instance of this exception with desired return value.
- execute(String) - Method in class technology.sola.script.SolaScript
-
Executes a sola script using the current state of the
SolaScript
runtime. - EXPECT_BRACE_AFTER_BLOCK - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a closing '}' is not found after a block.
- EXPECT_BRACE_AFTER_MAP_CREATION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a closing '}' is not found after creation of a map.
- EXPECT_BRACE_BEFORE_BODY - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an opening brace is not found before a function body.
- EXPECT_COLON_AFTER_TERNARY_TRUE_EXPR - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a ternary operator has been started, but a colon was not found after its true expression.
- EXPECT_EXPRESSION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an expression is expected, but not found.
- EXPECT_INITIALIZER_EXPRESSION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an initializer expression is not found for a constant.
- EXPECT_NAME - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a name for a function, variable, or method is expected.
- EXPECT_PAREN_AFTER_ARGUMENTS - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a closing parenthesis was not found after function arguments.
- EXPECT_PAREN_AFTER_CONDITION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a closing parenthesis was not found after an if statement's condition.
- EXPECT_PAREN_AFTER_EXPRESSION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a closing parenthesis was not found after an expression that followed an open parenthesis.
- EXPECT_PAREN_AFTER_IF - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an opening parenthesis is not found after an if statement is started.
- EXPECT_PAREN_AFTER_NAME - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an opening parenthesis was not found after a function or method name.
- EXPECT_PAREN_AFTER_PARAMETERS - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a closing parenthesis was not found after function or method parameters.
- EXPECT_PAREN_AFTER_WHILE - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an opening parenthesis is not found after a while statement is started.
- EXPECT_PROPERTY_NAME_AFTER_DOT - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a property name was not found after a '.' property accessor.
- EXPECT_SEMI_AFTER_EXPRESSION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a semicolon was not found after an expression statement.
- EXPECT_SEMI_AFTER_RETURN_VALUE - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a semicolon was not found after return value.
- EXPECT_SEMI_AFTER_VARIABLE_DECLARATION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a semicolon was not found after a variable declaration.
- EXPECTED_ARGUMENTS_MISMATCH - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when expected number of arguments were not provided.
- expr() - Method in record class technology.sola.script.parser.Stmt.Expression
-
Returns the value of the
expr
record component. - Expr - Interface in technology.sola.script.parser
-
Expr represents code that evaluates to a value.
- Expr.Assign - Record Class in technology.sola.script.parser
- Expr.Binary - Record Class in technology.sola.script.parser
- Expr.Call - Record Class in technology.sola.script.parser
- Expr.CallOptional - Record Class in technology.sola.script.parser
- Expr.Get - Record Class in technology.sola.script.parser
- Expr.GetOptional - Record Class in technology.sola.script.parser
- Expr.Grouping - Record Class in technology.sola.script.parser
-
Grouping expressions warps an expression to change when it is evaluated.
- Expr.Literal - Record Class in technology.sola.script.parser
-
Literal expressions hold a value such as string, number, boolean, map or null.
- Expr.Logical - Record Class in technology.sola.script.parser
- Expr.NullishCoalescence - Record Class in technology.sola.script.parser
- Expr.Set - Record Class in technology.sola.script.parser
- Expr.Ternary - Record Class in technology.sola.script.parser
- Expr.Unary - Record Class in technology.sola.script.parser
- Expr.Variable - Record Class in technology.sola.script.parser
-
Variable expressions hold a name of a variable to evaluate the value of.
- Expr.Visitor<R> - Interface in technology.sola.script.parser
-
Defines operations for the various
Expr
implementations. - expression() - Method in record class technology.sola.script.parser.Expr.Grouping
-
Returns the value of the
expression
record component. - expression(Stmt.Expression) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes an
Stmt.Expression
statement and returns the value. - Expression(Expr) - Constructor for record class technology.sola.script.parser.Stmt.Expression
-
Creates an instance of a
Expression
record class.
F
- FALSE - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- falseExpr() - Method in record class technology.sola.script.parser.Expr.Ternary
-
Returns the value of the
falseExpr
record component. - FOR - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- formatMessage(Object...) - Method in enum class technology.sola.script.error.ScriptErrorType
-
Formats the error message for displaying to the developer.
- FUN - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- function(Stmt.Function) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes a
Stmt.Function
statement and returns the value. - Function(Token, List<Token>, List<Stmt>) - Constructor for record class technology.sola.script.parser.Stmt.Function
-
Creates an instance of a
Function
record class.
G
- get(Expr.Get) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Get
expression and returns the value. - get(Token) - Method in class technology.sola.script.runtime.SolaScriptMap
-
Gets a property from the map.
- Get(Expr, Token) - Constructor for record class technology.sola.script.parser.Expr.Get
-
Creates an instance of a
Get
record class. - getDistance(Expr) - Method in class technology.sola.script.runtime.ScopeTable
-
Gets the distance needed to resolve the correct value for the desired variable.
- getOptional(Expr.GetOptional) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.GetOptional
expression and returns the value. - GetOptional(Expr, Token) - Constructor for record class technology.sola.script.parser.Expr.GetOptional
-
Creates an instance of a
GetOptional
record class. - GREATER - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- GREATER_EQUAL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- grouping(Expr.Grouping) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Grouping
expression and returns the value. - Grouping(Expr) - Constructor for record class technology.sola.script.parser.Expr.Grouping
-
Creates an instance of a
Grouping
record class.
H
- hasError() - Method in class technology.sola.script.error.ErrorContainer
- hashCode() - Method in record class technology.sola.script.error.ScriptError
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Assign
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Binary
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Call
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.CallOptional
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Get
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.GetOptional
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Grouping
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Literal
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Logical
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Set
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Ternary
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Unary
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Expr.Variable
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.ParserResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.Block
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.Expression
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.Function
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.If
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.Return
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.Val
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.Var
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.parser.Stmt.While
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.tokenizer.Token
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.script.tokenizer.TokenizeResult
-
Returns a hash code value for this object.
- hasRuntimeError() - Method in class technology.sola.script.error.ErrorContainer
I
- IDENTIFIER - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- If(Expr, Stmt, Stmt) - Constructor for record class technology.sola.script.parser.Stmt.If
-
Creates an instance of a
If
record class. - IF - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- ifVisit(Stmt.If) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes an
Stmt.If
statement and returns the value. - importModule(ScriptModule) - Method in class technology.sola.script.runtime.ScriptRuntime
-
Imports functionality provided by a
ScriptModule
into the globals of this runtime. - initializer() - Method in record class technology.sola.script.parser.Stmt.Val
-
Returns the value of the
initializer
record component. - initializer() - Method in record class technology.sola.script.parser.Stmt.Var
-
Returns the value of the
initializer
record component. - interpret(List<Stmt>) - Method in class technology.sola.script.interpreter.Interpreter
-
Interprets a list of
Stmt
s utilizing the attachedScriptRuntime
. - Interpreter - Class in technology.sola.script.interpreter
-
Interpreter handles interpreting a list of
Stmt
for a givenScriptRuntime
state. - Interpreter(ScriptRuntime) - Constructor for class technology.sola.script.interpreter.Interpreter
-
Creates an instance for desired
ScriptRuntime
. - INVALID_ASSIGNMENT_TARGET - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when an assignment operation is detected, but the target is not valid.
- INVALID_BINARY_EXPRESSION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a binary operator is detected without a left operand.
- INVALID_SELF_INITIALIZATION - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Semantic error when a variable is used to initialize itself.
- isDeclaredInScope(Token) - Method in class technology.sola.script.runtime.ScopeTable
-
Checks if a variable has been declared in the current scope or not.
- isDefinedInScope(Token) - Method in class technology.sola.script.runtime.ScopeTable
-
Checks if a variable has been defined in the current scope or not.
- isSelfReferenceVariableInitialization(Expr.Variable) - Method in class technology.sola.script.runtime.ScopeTable
-
Utility method to check if a
Expr.Variable
expression is being used to initialize itself. - isTruthy(Object) - Static method in class technology.sola.script.interpreter.ValueUtils
-
Checks to see if a value is considered "truthy" or not.
K
- keyword() - Method in record class technology.sola.script.parser.Stmt.Return
-
Returns the value of the
keyword
record component.
L
- left() - Method in record class technology.sola.script.parser.Expr.Binary
-
Returns the value of the
left
record component. - left() - Method in record class technology.sola.script.parser.Expr.Logical
-
Returns the value of the
left
record component. - left() - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
-
Returns the value of the
left
record component. - LEFT_BRACE - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- LEFT_PAREN - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- LESS - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- LESS_EQUAL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- lexeme() - Method in record class technology.sola.script.tokenizer.Token
-
Returns the value of the
lexeme
record component. - line() - Method in record class technology.sola.script.error.ScriptError
-
Returns the value of the
line
record component. - line() - Method in record class technology.sola.script.tokenizer.Token
-
Returns the value of the
line
record component. - literal() - Method in record class technology.sola.script.tokenizer.Token
-
Returns the value of the
literal
record component. - literal(Expr.Literal) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Literal
expression and returns the value. - Literal(Object) - Constructor for record class technology.sola.script.parser.Expr.Literal
-
Creates an instance of a
Literal
record class. - logical(Expr.Logical) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Logical
expression and returns the value. - Logical(Expr, Token, Expr) - Constructor for record class technology.sola.script.parser.Expr.Logical
-
Creates an instance of a
Logical
record class. - lookUpVariable(Expr.Variable) - Method in class technology.sola.script.runtime.ScriptRuntime
-
Looks up a variable's value utilizing the variable resolutions in the
ScopeTable
for the runtime.
M
- main(String[]) - Static method in class technology.sola.script.SolaScriptMain
-
Main entry point for running sola script as an executable.
- MAX_ARGUMENTS - Static variable in class technology.sola.script.parser.ParserConstants
-
The maximum number of arguments allowed for a function or method.
- MINUS - Enum constant in enum class technology.sola.script.tokenizer.TokenType
N
- name() - Method in record class technology.sola.script.parser.Expr.Assign
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Expr.Get
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Expr.GetOptional
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Expr.Set
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Expr.Variable
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Stmt.Function
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Stmt.Val
-
Returns the value of the
name
record component. - name() - Method in record class technology.sola.script.parser.Stmt.Var
-
Returns the value of the
name
record component. - NOT_CALLABLE - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when a call is detected on something that is not a function.
- NULL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- nullishCoalescence(Expr.NullishCoalescence) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.NullishCoalescence
expression and returns the value. - NullishCoalescence(Expr, Token, Expr) - Constructor for record class technology.sola.script.parser.Expr.NullishCoalescence
-
Creates an instance of a
NullishCoalescence
record class. - NUMBER - Enum constant in enum class technology.sola.script.tokenizer.TokenType
O
- object() - Method in record class technology.sola.script.parser.Expr.Get
-
Returns the value of the
object
record component. - object() - Method in record class technology.sola.script.parser.Expr.GetOptional
-
Returns the value of the
object
record component. - object() - Method in record class technology.sola.script.parser.Expr.Set
-
Returns the value of the
object
record component. - ONLY_MAPS_HAVE_PROPERTIES - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when a property accessor is found on something that is not a map.
- OPERAND_MUST_BE_NUMBER - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when an operand was expected to be a number.
- OPERANDS_MUST_BE_NUMBERS - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when both operands were expected to be a number.
- OPERANDS_MUST_BE_TWO_NUMBERS_OR_ONE_STRING - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when both operands are not numbers and at least one of the operands is not a string.
- operator() - Method in record class technology.sola.script.parser.Expr.Binary
-
Returns the value of the
operator
record component. - operator() - Method in record class technology.sola.script.parser.Expr.Logical
-
Returns the value of the
operator
record component. - operator() - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
-
Returns the value of the
operator
record component. - operator() - Method in record class technology.sola.script.parser.Expr.Unary
-
Returns the value of the
operator
record component.
P
- parameters() - Method in record class technology.sola.script.parser.Stmt.Function
-
Returns the value of the
parameters
record component. - paren() - Method in record class technology.sola.script.parser.Expr.Call
-
Returns the value of the
paren
record component. - paren() - Method in record class technology.sola.script.parser.Expr.CallOptional
-
Returns the value of the
paren
record component. - parse() - Method in class technology.sola.script.parser.Parser
- PARSE - Enum constant in enum class technology.sola.script.error.ScriptErrorStage
-
Parse errors happen before code is executed.
- Parser - Class in technology.sola.script.parser
- Parser(List<Token>) - Constructor for class technology.sola.script.parser.Parser
-
Creates an instance for a desired list of
Token
s. - ParserConstants - Class in technology.sola.script.parser
-
ParserConstants holds constants used while parsing a sola script.
- ParserResult - Record Class in technology.sola.script.parser
-
ParserResult holds the parsed
Stmt
s and anyScriptError
s found while parsing. - ParserResult(List<Stmt>, List<ScriptError>) - Constructor for record class technology.sola.script.parser.ParserResult
-
Creates an instance of a
ParserResult
record class. - ParserResultPrinter - Class in technology.sola.script.parser
-
ParserResultPrinter serializes a
ParserResult
in a human-readable way. - ParserResultPrinter() - Constructor for class technology.sola.script.parser.ParserResultPrinter
- PLUS - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- print() - Method in class technology.sola.script.library.StandardLibraryScriptModule
-
print
- print(ParserResult) - Method in class technology.sola.script.parser.ParserResultPrinter
-
Converts a
ParserResult
into a human-readable string. - printErrors() - Method in class technology.sola.script.error.ErrorContainer
-
Prints all errors to
System.err
.
Q
- QUESTION - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- QUESTION_DOT - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- QUESTION_QUESTION - Enum constant in enum class technology.sola.script.tokenizer.TokenType
R
- readLine() - Method in class technology.sola.script.library.StandardLibraryScriptModule
-
readLine
- resolve(List<Stmt>) - Method in class technology.sola.script.resolver.Resolver
-
Processes variable scope resolutions for a list of
Stmt
s in the attachedScriptRuntime
. - resolveLocal(Expr, Token) - Method in class technology.sola.script.runtime.ScopeTable
-
Resolves the nested depth of a local variable usage for an
Expr
. - Resolver - Class in technology.sola.script.resolver
- Resolver(ScriptRuntime) - Constructor for class technology.sola.script.resolver.Resolver
-
Creates an instance for desired
ScriptRuntime
. - restoreEnvironment(EnvironmentHandle) - Method in class technology.sola.script.runtime.ScriptRuntime
-
Restores an environment utilizing its
EnvironmentHandle
. - Return(Token, Expr) - Constructor for record class technology.sola.script.parser.Stmt.Return
-
Creates an instance of a
Return
record class. - RETURN - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- returnVisit(Stmt.Return) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes a
Stmt.Return
statement and returns the value. - right() - Method in record class technology.sola.script.parser.Expr.Binary
-
Returns the value of the
right
record component. - right() - Method in record class technology.sola.script.parser.Expr.Logical
-
Returns the value of the
right
record component. - right() - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
-
Returns the value of the
right
record component. - right() - Method in record class technology.sola.script.parser.Expr.Unary
-
Returns the value of the
right
record component. - RIGHT_BRACE - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- RIGHT_PAREN - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- RUNTIME - Enum constant in enum class technology.sola.script.error.ScriptErrorStage
-
Runtime errors happen while the script is executing.
S
- scopes() - Method in class technology.sola.script.runtime.ScriptRuntime
-
Gets the
ScopeTable
for the runtime so it can be updated with local variable resolutions. - ScopeTable - Class in technology.sola.script.runtime
-
ScopeTable holds variable resolutions at various depths of scope.
- ScopeTable() - Constructor for class technology.sola.script.runtime.ScopeTable
- ScriptError - Record Class in technology.sola.script.error
-
ScriptError holds information about what kind of error happened, where it happened, and a longer description for a user to resolve it.
- ScriptError(ScriptErrorType, int, int, Object...) - Constructor for record class technology.sola.script.error.ScriptError
-
Creates an instance of a
ScriptError
record class. - ScriptError(ScriptErrorType, Token, Object...) - Constructor for record class technology.sola.script.error.ScriptError
-
ScriptError holds information about what kind of error happened, where it happened, and a longer description for a user to resolve it.
- ScriptErrorStage - Enum Class in technology.sola.script.error
-
ScriptErrorStage holds the various stages where errors can occur while parsing and executing a sola script.
- ScriptErrorType - Enum Class in technology.sola.script.error
-
ScriptErrorType contains various expected errors that may occur while parsing and executing a sola script.
- ScriptInterpretationException - Exception in technology.sola.script.error
-
ScriptErrorException is a runtime exception that is thrown while trying to interpret a sola script containing information about the
ScriptErrorType
cause and theToken
it was found at. - ScriptInterpretationException(Token, ScriptErrorType, Object...) - Constructor for exception technology.sola.script.error.ScriptInterpretationException
-
Creates an instance of this exception.
- ScriptModule - Interface in technology.sola.script.library
-
ScriptModule defines the api for a module to be imported into a
ScriptRuntime
. - ScriptRuntime - Class in technology.sola.script.runtime
-
ScriptRuntime contains environment state information as well as a
ScopeTable
to keep track of nested scope variable resolutions. - ScriptRuntime() - Constructor for class technology.sola.script.runtime.ScriptRuntime
- SEMANTIC - Enum constant in enum class technology.sola.script.error.ScriptErrorStage
-
Semantic errors happen after parsing, but before execution.
- SEMICOLON - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- set(String, Object) - Method in class technology.sola.script.runtime.SolaScriptMap
-
Sets a property on the map.
- set(Expr.Set) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Set
expression and returns the value. - set(Token, Object) - Method in class technology.sola.script.runtime.SolaScriptMap
-
Sets a property on the map.
- Set(Expr, Token, Expr) - Constructor for record class technology.sola.script.parser.Expr.Set
-
Creates an instance of a
Set
record class. - SLASH - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- SolaScript - Class in technology.sola.script
-
SolaScript is a runtime container for executing sola scripts.
- SolaScript() - Constructor for class technology.sola.script.SolaScript
-
Creates an instance of the SolaScript runtime with the
StandardLibraryScriptModule
imported. - SolaScript(List<ScriptModule>) - Constructor for class technology.sola.script.SolaScript
-
Creates an instance of the SolaScript runtime with the desired
ScriptModule
s imported. - SolaScriptCallable - Interface in technology.sola.script.runtime
-
SolaScriptCallable specifies the contract for something that is callable in a sola script.
- SolaScriptFunction - Class in technology.sola.script.runtime
-
SolaScriptFunction is a runtime definition of a function declaration that is callable (implements
SolaScriptCallable
interface). - SolaScriptFunction(Consumer<Stmt>, ScriptRuntime, Stmt.Function) - Constructor for class technology.sola.script.runtime.SolaScriptFunction
-
Creates an instance of the runtime function declaration.
- SolaScriptMain - Class in technology.sola.script
-
SolaScriptMain contains the entry point for running sola scripts from the command line.
- SolaScriptMain() - Constructor for class technology.sola.script.SolaScriptMain
- SolaScriptMap - Class in technology.sola.script.runtime
-
SolaScriptMap is the runtime representation of the sola-script map type.
- SolaScriptMap() - Constructor for class technology.sola.script.runtime.SolaScriptMap
- stage - Variable in enum class technology.sola.script.error.ScriptErrorType
-
The
ScriptErrorStage
where the error occurs. - StandardLibraryScriptModule - Class in technology.sola.script.library
-
StandardLibraryScriptModule contains some standard functionality for making useful programs using sola-script.
- StandardLibraryScriptModule() - Constructor for class technology.sola.script.library.StandardLibraryScriptModule
- STAR - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- statements() - Method in record class technology.sola.script.parser.ParserResult
-
Returns the value of the
statements
record component. - statements() - Method in record class technology.sola.script.parser.Stmt.Block
-
Returns the value of the
statements
record component. - Stmt - Interface in technology.sola.script.parser
-
Stmt represents a piece of code that performs an action or controls the flow of the program.
- Stmt.Block - Record Class in technology.sola.script.parser
-
Block contains a list of
Stmt
s that are executed in their own scope. - Stmt.Expression - Record Class in technology.sola.script.parser
-
Expression statement evaluates an expression.
- Stmt.Function - Record Class in technology.sola.script.parser
-
Function statement declares a function in the current scope with desired parameters and body.
- Stmt.If - Record Class in technology.sola.script.parser
-
If statement is a conditional branching statement.
- Stmt.Return - Record Class in technology.sola.script.parser
-
Return statement exits a function or method while optionally returning a value for the caller to use.
- Stmt.Return.Exception - Exception in technology.sola.script.parser
-
Return is an exception utilized by the
Interpreter
to throw when aStmt.Return
is being interpreted so that the wrappingSolaScriptFunction
can catch it and return the value as the result of theExpr.Call
. - Stmt.Val - Record Class in technology.sola.script.parser
-
Val statement declares a constant in the current scope with an initializer.
- Stmt.Var - Record Class in technology.sola.script.parser
-
Var statement declares a variable in the current scope with an optional initializer.
- Stmt.Visitor<R> - Interface in technology.sola.script.parser
-
Defines operations for the various
Stmt
implementations. - Stmt.While - Record Class in technology.sola.script.parser
-
While statement is a conditional looping statement.
- STRING - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- stringify(Object) - Static method in class technology.sola.script.interpreter.ValueUtils
-
Method to make a sola-script value into a string.
T
- technology.sola.script - module technology.sola.script
-
Defines the sola-script API.
- technology.sola.script - package technology.sola.script
-
This package provides the core classes for sola-script.
- technology.sola.script.error - package technology.sola.script.error
-
This package provides error support for sola-script.
- technology.sola.script.interpreter - package technology.sola.script.interpreter
- technology.sola.script.library - package technology.sola.script.library
- technology.sola.script.parser - package technology.sola.script.parser
- technology.sola.script.resolver - package technology.sola.script.resolver
- technology.sola.script.runtime - package technology.sola.script.runtime
- technology.sola.script.tokenizer - package technology.sola.script.tokenizer
-
This package provides tokenization functionality for sola-script.
- ternary(Expr.Ternary) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Ternary
expression and returns the value. - Ternary(Expr, Expr, Expr) - Constructor for record class technology.sola.script.parser.Expr.Ternary
-
Creates an instance of a
Ternary
record class. - thenBranch() - Method in record class technology.sola.script.parser.Stmt.If
-
Returns the value of the
thenBranch
record component. - token - Variable in exception technology.sola.script.error.ScriptInterpretationException
-
The
Token
where the error occurred. - Token - Record Class in technology.sola.script.tokenizer
-
Token holds information about a recognized token that sola script understands.
- Token(TokenType, String, Object, int, int) - Constructor for record class technology.sola.script.tokenizer.Token
-
Creates an instance of a
Token
record class. - tokenize() - Method in class technology.sola.script.tokenizer.Tokenizer
-
Tokenizes the source string and includes any errors found.
- Tokenizer - Class in technology.sola.script.tokenizer
-
Tokenizer provides functionality for tokenizing a source string into
Token
s to be parsed and interpreted. - Tokenizer(String) - Constructor for class technology.sola.script.tokenizer.Tokenizer
-
Creates a Tokenizer instance for desired source string.
- TokenizeResult - Record Class in technology.sola.script.tokenizer
- TokenizeResult(List<Token>, List<ScriptError>) - Constructor for record class technology.sola.script.tokenizer.TokenizeResult
-
Creates an instance of a
TokenizeResult
record class. - tokens() - Method in record class technology.sola.script.tokenizer.TokenizeResult
-
Returns the value of the
tokens
record component. - TokenType - Enum Class in technology.sola.script.tokenizer
-
TokenType contains all recognized token types for sola script.
- TOO_MANY_ARGUMENTS - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Semantic error when a function or method has been declared with too many arguments.
- toString() - Method in record class technology.sola.script.error.ScriptError
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Assign
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Binary
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Call
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.CallOptional
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Get
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.GetOptional
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Grouping
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Literal
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Logical
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.NullishCoalescence
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Set
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Ternary
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Unary
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Expr.Variable
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.ParserResult
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.Block
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.Expression
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.Function
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.If
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.Return
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.Val
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.Var
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.parser.Stmt.While
-
Returns a string representation of this record class.
- toString() - Method in class technology.sola.script.runtime.SolaScriptMap
- toString() - Method in record class technology.sola.script.tokenizer.Token
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.script.tokenizer.TokenizeResult
-
Returns a string representation of this record class.
- TRUE - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- trueExpr() - Method in record class technology.sola.script.parser.Expr.Ternary
-
Returns the value of the
trueExpr
record component. - type() - Method in record class technology.sola.script.error.ScriptError
-
Returns the value of the
type
record component. - type() - Method in record class technology.sola.script.tokenizer.Token
-
Returns the value of the
type
record component.
U
- unary(Expr.Unary) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Unary
expression and returns the value. - Unary(Token, Expr) - Constructor for record class technology.sola.script.parser.Expr.Unary
-
Creates an instance of a
Unary
record class. - UNDEFINED_VARIABLE - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Runtime error when a variable is used, but not defined in scope.
- UNEXPECTED_CHARACTER - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error that happens during tokenization when an unexpected character is found in a script.
- UNTERMINATED_STRING - Enum constant in enum class technology.sola.script.error.ScriptErrorType
-
Parsing error when a
TokenType.STRING
has been detected, but has not been terminated.
V
- val(Stmt.Val) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes a
Stmt.Val
statement and returns the value. - Val(Token, Expr) - Constructor for record class technology.sola.script.parser.Stmt.Val
-
Creates an instance of a
Val
record class. - VAL - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- value - Variable in exception technology.sola.script.parser.Stmt.Return.Exception
-
The value returned by the
Stmt.Return
. - value() - Method in record class technology.sola.script.parser.Expr.Assign
-
Returns the value of the
value
record component. - value() - Method in record class technology.sola.script.parser.Expr.Literal
-
Returns the value of the
value
record component. - value() - Method in record class technology.sola.script.parser.Expr.Set
-
Returns the value of the
value
record component. - value() - Method in record class technology.sola.script.parser.Stmt.Return
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class technology.sola.script.error.ScriptErrorStage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.script.error.ScriptErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.script.tokenizer.TokenType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class technology.sola.script.error.ScriptErrorStage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.script.error.ScriptErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.script.tokenizer.TokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueUtils - Class in technology.sola.script.interpreter
-
ValueUtils contains various utility methods for sola-script values.
- var(Stmt.Var) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes a
Stmt.Var
statement and returns the value. - Var(Token, Expr) - Constructor for record class technology.sola.script.parser.Stmt.Var
-
Creates an instance of a
Var
record class. - VAR - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- variable(Expr.Variable) - Method in interface technology.sola.script.parser.Expr.Visitor
-
Evaluates a
Expr.Variable
expression and returns the value. - Variable(Token) - Constructor for record class technology.sola.script.parser.Expr.Variable
-
Creates an instance of a
Variable
record class. - variables() - Method in interface technology.sola.script.library.ScriptModule
-
Gets the variable definitions within this module.
- variables() - Method in class technology.sola.script.library.StandardLibraryScriptModule
W
- While(Expr, Stmt) - Constructor for record class technology.sola.script.parser.Stmt.While
-
Creates an instance of a
While
record class. - WHILE - Enum constant in enum class technology.sola.script.tokenizer.TokenType
- whileVisit(Stmt.While) - Method in interface technology.sola.script.parser.Stmt.Visitor
-
Executes a
Stmt.While
statement and returns the value.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form