Package compilation.analysis.syntax
Contains classes for the syntactical analysis of the source code.
The classes contained within this package are used for performing syntactic analysis on the source code, using the Parser to generate a ParseTree object comprised of the root Statement.
- Since:
- 1.0
-
Interface Summary Interface Description Expression The Expression interface is used to represent expressions declared during compilation.Statement The Statement interface is used to represent statements declared during compilation. -
Class Summary Class Description AssignmentExpression The AssignmentExpression class is used to store information about assignment expressions declared during compilation.BinaryExpression The BinaryExpression class is used to store information about binary expressions declared during compilation.BlockStatement The BlockStatement class is used to store information about block statements declared during compilation.ConditionalStatement The ConditionalStatement class is used to store information about conditional statements declared during compilation.ConditionalStatement.ElseStatement The ElseStatement class is used to store information about else statements declared during compilation.ExpressionStatement The ExpressionStatement class is used to store information about expression statements declared during compilation.IdentifierExpression The IdentifierExpression class is used to store information about identifier expressions declared during compilation.LiteralExpression The LiteralExpression class is used to store information about literal expressions declared during compilation.LoopStatement The LoopStatement class is used to store information about loop statements declared during compilation.OperatorPrecedence The OperatorPrecedence class is used to identify the precedence of an operator Token.ParenthesizedExpression The ParenthesizedExpression class is used to store information about parenthesized expressions declared during compilation.Parser The Parser class is responsible for performing syntax analysis on a List of Tokens, discovering whether or not the structure of the program conforms to the rules of the source languages grammar.ParseTree The ParseTree class is used to hold the root Statement generated by the Parser.SourceStatement The SourceStatement class is used to store information about the entire source code during compilation.UnaryExpression The UnaryExpression class is used to store information about unary expressions declared during compilation.