Uses of Class
picasso.parser.tokens.Token
Packages that use Token
Package
Description
-
Uses of Token in picasso.parser
Fields in picasso.parser declared as TokenMethods in picasso.parser that return TokenModifier and TypeMethodDescriptionTokenizer.getToken()
Try to match a token.protected Token
Tokenizer.nextToken()
get the next token and store it for retrieval by getToken()Methods in picasso.parser that return types with arguments of type TokenModifier and TypeMethodDescriptionExpressionTreeGenerator.infixToPostfix
(String infix) This method converts the String infix expression to a Stack of tokens, which are in postfix.Tokenizer.parseTokens
(String s) Parses the given string into a list of Picasso tokens (in order)Methods in picasso.parser with parameters of type TokenModifier and TypeMethodDescriptionTry to match a token.private int
ExpressionTreeGenerator.orderOfOperation
(Token token) void
Tokenizer.setCurrToken
(Token currToken) Method parameters in picasso.parser with type arguments of type TokenModifier and TypeMethodDescriptionColorAnalyzer.generateExpressionTree
(Stack<Token> tokens) ConstantAnalyzer.generateExpressionTree
(Stack<Token> tokens) FloorAnalyzer.generateExpressionTree
(Stack<Token> tokens) IdentifierAnalyzer.generateExpressionTree
(Stack<Token> tokens) PlusAnalyzer.generateExpressionTree
(Stack<Token> tokens) SemanticAnalyzer.generateExpressionTree
(Stack<Token> tokens) From a stack of tokens in postfix order, creates an expression treeSemanticAnalyzerInterface.generateExpressionTree
(Stack<Token> tokens) abstract ExpressionTreeNode
UnaryFunctionAnalyzer.generateExpressionTree
(Stack<Token> tokens) -
Uses of Token in picasso.parser.tokens
Subclasses of Token in picasso.parser.tokensModifier and TypeClassDescriptionclass
Represents a color (using double values).class
This represents an end-of-file token.class
Represents an identifier (a variable name)class
Represents a number (using double values).Fields in picasso.parser.tokens with type parameters of type TokenMethods in picasso.parser.tokens that return Token -
Uses of Token in picasso.parser.tokens.chars
Subclasses of Token in picasso.parser.tokens.charsModifier and TypeClassDescriptionclass
A token represented by a single character, e.g., '*', ';', '[' and so on; the method equals compares a CharToken as equal to another CharToken encapsulating the same character.class
Represents a comma in the Picasso programming languageclass
Represents the equals sign in the Picasso programming languageclass
Represents a left bracket in the Picasso programming languageclass
Represents a left parenthesis in the Picasso programming languageclass
Represents a right bracket in the Picasso programming languageclass
Represents a right parenthesis in the Picasso programming language -
Uses of Token in picasso.parser.tokens.functions
Subclasses of Token in picasso.parser.tokens.functionsModifier and TypeClassDescriptionclass
Represents the floor function tokenclass
Parent class for Tokens that represent functions. -
Uses of Token in picasso.parser.tokens.operations
Subclasses of Token in picasso.parser.tokens.operations -
Uses of Token in tests