A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
S
- saveFile() - Method in class ui.main.MainController
-
Saves a file currently in progress.
- saveFile(String) - Method in class ui.main.FileManager
-
Saves a file without opening a FileChooser window.
- saveFileAs() - Method in class ui.main.MainController
-
Opens a window for saving a file.
- saveFileAs(String) - Method in class ui.main.FileManager
-
Opens a FileChooser window, allowing the user to name and save a file.
- saveFileAs(String, String) - Method in class ui.main.FileManager
-
Opens a FileChooser window with a specified initial file name, allowing the user to name and save a file.
- SEMANTIC_ERROR - types.ErrorType
- SEMANTIC_EXCEPTION - types.ExceptionType
- SemanticError - Class in errors
-
The SemanticError class is used to represent an error that occurred during the semantic analysis stage of compilation.
- SemanticError(SourceSpan, String, String) - Constructor for class errors.SemanticError
- SemanticException - Class in exceptions
- SemanticException(String) - Constructor for class exceptions.SemanticException
- setName(String) - Method in class ui.repl.TableManager.SymbolElement
-
Set the name of the Symbol
- setType(String) - Method in class ui.repl.TableManager.SymbolElement
-
Set the type of the Symbol
- setValue(String) - Method in class ui.repl.TableManager.SymbolElement
-
Set the value of the Symbol
- SLASH_EQUALS_SYNTAX - Static variable in class compilation.analysis.lexical.Syntax
- SLASH_EQUALS_TOKEN - types.TokenType
- SLASH_SYNTAX - Static variable in class compilation.analysis.lexical.Syntax
- SLASH_TOKEN - types.TokenType
- source - package source
-
Provides classes for managing compilation input and output.
- SOURCE_STATEMENT - types.StatementType
- SourceInput - Class in source
-
The SourceInput class is used to store the source code to be used in compilation.
- SourceInput(String) - Constructor for class source.SourceInput
-
Constructs a SourceInput object for storing the source code before compilation.
- SourceLine - Class in source
-
The SourceLine class is used to store information about each individual line in the source code.
- SourceLine(int, int) - Constructor for class source.SourceLine
-
Constructs a SourceLine object for storing information about each line of source code.
- SourceOutput - Class in source
-
The SourceOutput class is used to store the output of the compilation process.
- SourceOutput(Evaluator, ErrorHandler) - Constructor for class source.SourceOutput
-
Constructs a SourceOutput object initialised with the result calculated by the Evaluator.
- SourceSpan - Class in source
-
The SourceSpan class is used to store information about the location of Expression and Statement objects relative to the source code.
- SourceSpan(int, int) - Constructor for class source.SourceSpan
-
Constructs a SourceSpan object for storing information about each Expression or Statements location.
- SourceStatement - Class in compilation.analysis.syntax
-
The SourceStatement class is used to store information about the entire source code during compilation.
- SourceStatement(Statement, Token) - Constructor for class compilation.analysis.syntax.SourceStatement
-
Constructs a SourceStatement object, initialised with a single Statement object and the EOF Token.
- SourceStatement(List<Statement>, Token) - Constructor for class compilation.analysis.syntax.SourceStatement
-
Constructs a SourceStatement object, initialised with a List of every Statement object within the source code and the EOF Token.
- StageManager - Class in ui
-
The StageManager class is used setup and run each GUI.
- StageManager() - Constructor for class ui.StageManager
- STAR_EQUALS_SYNTAX - Static variable in class compilation.analysis.lexical.Syntax
- STAR_EQUALS_TOKEN - types.TokenType
- STAR_SYNTAX - Static variable in class compilation.analysis.lexical.Syntax
- STAR_TOKEN - types.TokenType
- start(Stage) - Method in class Main
- startConfirmationAlert(String) - Method in class ui.main.AlertManager
-
Start and open a confirmation window.
- startErrorAlert(String) - Method in class ui.main.AlertManager
-
Start and open an error alert window.
- startMain(Stage) - Method in class ui.StageManager
-
Start the main GUI.
- startRepl(Stage) - Method in class ui.StageManager
-
Start the REPL GUI.
- Statement - Interface in compilation.analysis.syntax
-
The Statement interface is used to represent statements declared during compilation.
- StatementType - Enum in types
-
The StatementType enum is used to store constants related to Statement objects.
- STRING_OBJECT - types.ObjectType
- STRING_TOKEN - types.TokenType
- substring(int) - Method in class source.SourceInput
-
Return a String from a specified index to the end of the text.
- substring(int, int) - Method in class source.SourceInput
-
Return a String from a beginning index to an end index.
- SUBTRACTION_OPERATOR - types.OperatorType
- Symbol - Class in symbols
-
The Symbol class is used to store information about variables declared during compilation.
- Symbol(String, Object, ObjectType) - Constructor for class symbols.Symbol
-
Constructs a Symbol object initialised with its name, value, and data type.
- Symbol(String, ObjectType) - Constructor for class symbols.Symbol
-
Constructs a Symbol object initialised with its name and data type.
- symbols - package symbols
-
Provides classes for managing symbol assignments during compilation.
- SymbolTable - Class in symbols
-
The SymbolTable class is used to store Symbol objects that have been generated during compilation.
- SymbolTable() - Constructor for class symbols.SymbolTable
-
Constructs a SymbolTable object for storing Symbols that are declared during compilation.
- Syntax - Class in compilation.analysis.lexical
-
The Syntax class is used to hold constant String variables that identify valid Onyx syntax.
- Syntax() - Constructor for class compilation.analysis.lexical.Syntax
- SYNTAX_ERROR - types.ErrorType
- SyntaxError - Class in errors
-
The SyntaxError class is used to represent an error that occurred during the syntax analysis stage of compilation.
- SyntaxError(SourceSpan, String, String) - Constructor for class errors.SyntaxError
All Classes All Packages