Skip navigation links
A C D E G H I L M N O P R S T U V W 

A

AbstractNode - Class in cz.jirutka.rsql.parser.ast
 
AbstractNode() - Constructor for class cz.jirutka.rsql.parser.ast.AbstractNode
 
accept(RSQLVisitor<R, A>) - Method in class cz.jirutka.rsql.parser.ast.AbstractNode
Accepts the visitor, calls its visit() method and returns the result.
accept(RSQLVisitor<R, A>, A) - Method in class cz.jirutka.rsql.parser.ast.AndNode
 
accept(RSQLVisitor<R, A>, A) - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
 
accept(RSQLVisitor<R, A>, A) - Method in interface cz.jirutka.rsql.parser.ast.Node
Accepts the visitor, calls its visit() method and returns a result.
accept(RSQLVisitor<R, A>) - Method in interface cz.jirutka.rsql.parser.ast.Node
Accepts the visitor, calls its visit() method and returns the result.
accept(RSQLVisitor<R, A>, A) - Method in class cz.jirutka.rsql.parser.ast.OrNode
 
AndNode - Class in cz.jirutka.rsql.parser.ast
 
AndNode(List<? extends Node>) - Constructor for class cz.jirutka.rsql.parser.ast.AndNode
 
Arity - Interface in cz.jirutka.rsql.parser.ast
The arity of an operator.
asNode() - Method in interface cz.jirutka.rsql.parser.ast.ComparisonArguments
Returns arguments as a node, if ComparisonArguments.isNested() is false this will return null.
asNode() - Method in class cz.jirutka.rsql.parser.ast.NestedArguments
 
asNode() - Method in class cz.jirutka.rsql.parser.ast.StringArguments
 
asStringList() - Method in interface cz.jirutka.rsql.parser.ast.ComparisonArguments
Returns arguments as a list of string, if ComparisonArguments.isNested() is true the list will be empty.
asStringList() - Method in class cz.jirutka.rsql.parser.ast.NestedArguments
 
asStringList() - Method in class cz.jirutka.rsql.parser.ast.StringArguments
 

C

ComparisonArguments - Interface in cz.jirutka.rsql.parser.ast
Interface representing arguments in the RSQL grammar.
ComparisonNode - Class in cz.jirutka.rsql.parser.ast
This node represents a comparison with operator, selector and arguments, e.g.
ComparisonNode(ComparisonOperator, String, ComparisonArguments) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonNode
 
ComparisonNode(ComparisonOperator, String, List<String>) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonNode
ComparisonOperator - Class in cz.jirutka.rsql.parser.ast
 
ComparisonOperator(String[], ComparisonOperator.Type) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
ComparisonOperator(String, ComparisonOperator.Type) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
ComparisonOperator(String, String, ComparisonOperator.Type) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
ComparisonOperator(String[], boolean) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
Deprecated.
ComparisonOperator(String[], Arity) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
Deprecated.
ComparisonOperator(String, boolean) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
Deprecated.
ComparisonOperator(String, Arity) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
Deprecated.
ComparisonOperator(String, String, boolean) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
ComparisonOperator(String, String, Arity) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
ComparisonOperator(String...) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
ComparisonOperator.MultiValue - Class in cz.jirutka.rsql.parser.ast
 
ComparisonOperator.Nested - Class in cz.jirutka.rsql.parser.ast
 
ComparisonOperator.Type - Class in cz.jirutka.rsql.parser.ast
Defines the different types of arguments.
createComparisonNode(String, String, Object) - Method in class cz.jirutka.rsql.parser.ast.NodesFactory
Creates a ComparisonNode instance with the given parameters.
createLogicalNode(LogicalOperator, List<Node>) - Method in class cz.jirutka.rsql.parser.ast.NodesFactory
Creates a specific LogicalNode instance for the specified operator and with the given children nodes.
currentToken - Variable in exception cz.jirutka.rsql.parser.ParseException
This is the last token that has been consumed successfully.
cz.jirutka.rsql.parser - package cz.jirutka.rsql.parser
 
cz.jirutka.rsql.parser.ast - package cz.jirutka.rsql.parser.ast
 

D

defaultOperators() - Static method in class cz.jirutka.rsql.parser.ast.RSQLOperators
 

E

EOL - Static variable in exception cz.jirutka.rsql.parser.ParseException
The end of line string for this machine.
EQUAL - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.MultiValue
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.Nested
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.NestedArguments
 
equals(Object) - Method in class cz.jirutka.rsql.parser.ast.StringArguments
 
expectedTokenSequences - Variable in exception cz.jirutka.rsql.parser.ParseException
Each entry in this array is an array of integers.

G

getArguments() - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
getArgumentsObject() - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
Return arguments.
getArity() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
Returns the arity of this operator.
getArity() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.MultiValue
 
getArity() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.Nested
 
getArity() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.Type
 
getChildren() - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
Returns a copy of the children nodes.
getNestingLevel() - Method in class cz.jirutka.rsql.parser.ast.AbstractNode
 
getNestingLevel() - Method in interface cz.jirutka.rsql.parser.ast.Node
Get the current nesting level of the node.
getOperator() - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
 
getOperator() - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
 
getOperator() - Method in exception cz.jirutka.rsql.parser.UnknownOperatorException
 
getSelector() - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
 
getSymbol() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
Returns the primary representation of this operator.
getSymbols() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
Returns all representations of this operator.
getType() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
Returns the arguments type.
GREATER_THAN - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
GREATER_THAN_OR_EQUAL - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 

H

hashCode() - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
 
hashCode() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
hashCode() - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
 
hashCode() - Method in class cz.jirutka.rsql.parser.ast.NestedArguments
 
hashCode() - Method in class cz.jirutka.rsql.parser.ast.StringArguments
 

I

IN - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
IS_NULL - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
isMultiValue() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
isMultiValue() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.MultiValue
 
isMultiValue() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.Nested
 
isMultiValue() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator.Type
 
isNested() - Method in interface cz.jirutka.rsql.parser.ast.ComparisonArguments
 
isNested() - Method in class cz.jirutka.rsql.parser.ast.NestedArguments
 
isNested() - Method in class cz.jirutka.rsql.parser.ast.StringArguments
 
iterator() - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
Iterate over children nodes.

L

LESS_THAN - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
LESS_THAN_OR_EQUAL - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
LogicalNode - Class in cz.jirutka.rsql.parser.ast
Superclass of all logical nodes that represents a logical operation that connects children nodes.
LogicalNode(LogicalOperator, List<? extends Node>) - Constructor for class cz.jirutka.rsql.parser.ast.LogicalNode
 
LogicalOperator - Enum in cz.jirutka.rsql.parser.ast
 

M

max() - Method in interface cz.jirutka.rsql.parser.ast.Arity
The maximum number of arguments operator can receive.
min() - Method in interface cz.jirutka.rsql.parser.ast.Arity
The minimum number of arguments operator can receive.
MULTIARY_TYPE - Static variable in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
MultiValue(Arity) - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator.MultiValue
 

N

nary(int) - Static method in interface cz.jirutka.rsql.parser.ast.Arity
Creates N-ary object.
Nested() - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator.Nested
 
NESTED_TYPE - Static variable in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
NestedArguments - Class in cz.jirutka.rsql.parser.ast
Class representing nested arguments in the RSQL grammar.
NestedArguments(Node) - Constructor for class cz.jirutka.rsql.parser.ast.NestedArguments
 
NoArgRSQLVisitorAdapter<R> - Class in cz.jirutka.rsql.parser.ast
An adapter for the RSQLVisitor interface with a simpler contract that omits the optional second argument.
NoArgRSQLVisitorAdapter() - Constructor for class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
Node - Interface in cz.jirutka.rsql.parser.ast
Common interface of the AST nodes.
NodesFactory - Class in cz.jirutka.rsql.parser.ast
Factory that creates Node instances for the parser.
NodesFactory(Set<ComparisonOperator>) - Constructor for class cz.jirutka.rsql.parser.ast.NodesFactory
Creates a new instance of NodesFactory with given supported operators.
NOT_EQUAL - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
NOT_IN - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
NOT_NULL - Static variable in class cz.jirutka.rsql.parser.ast.RSQLOperators
 
nullary() - Static method in interface cz.jirutka.rsql.parser.ast.Arity
Creates nullary object.
NULLARY_TYPE - Static variable in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 

O

of(int, int) - Static method in interface cz.jirutka.rsql.parser.ast.Arity
Creates arity with given min and max.
OrNode - Class in cz.jirutka.rsql.parser.ast
 
OrNode(List<? extends Node>) - Constructor for class cz.jirutka.rsql.parser.ast.OrNode
 

P

parse(String) - Method in class cz.jirutka.rsql.parser.RSQLParser
Parses the RSQL expression and returns AST.
ParseException - Exception in cz.jirutka.rsql.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception cz.jirutka.rsql.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception cz.jirutka.rsql.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception cz.jirutka.rsql.parser.ParseException
Constructor with message.

R

RSQLOperators - Class in cz.jirutka.rsql.parser.ast
 
RSQLOperators() - Constructor for class cz.jirutka.rsql.parser.ast.RSQLOperators
 
RSQLParser - Class in cz.jirutka.rsql.parser
Parser of the RSQL (RESTful Service Query Language).
RSQLParser() - Constructor for class cz.jirutka.rsql.parser.RSQLParser
Creates a new instance of RSQLParser with the default set of comparison operators.
RSQLParser(Set<ComparisonOperator>) - Constructor for class cz.jirutka.rsql.parser.RSQLParser
Creates a new instance of RSQLParser that supports only the specified comparison operators.
RSQLParser(NodesFactory) - Constructor for class cz.jirutka.rsql.parser.RSQLParser
Creates a new instance of RSQLParser with given node factory.
RSQLParserException - Exception in cz.jirutka.rsql.parser
A top level exception of RSQL parser that wraps all exceptions occurred in parsing.
RSQLParserException(Throwable) - Constructor for exception cz.jirutka.rsql.parser.RSQLParserException
Constructs a new RSQLParserException with the specified detail message and cause.
RSQLParserException(String) - Constructor for exception cz.jirutka.rsql.parser.RSQLParserException
Constructs a new RSQLParserException with the specified detail message.
RSQLVisitor<R,A> - Interface in cz.jirutka.rsql.parser.ast
An interface for visiting AST nodes of the RSQL.

S

setNestingLevel(int) - Method in class cz.jirutka.rsql.parser.ast.AbstractNode
 
setNestingLevel(int) - Method in interface cz.jirutka.rsql.parser.ast.Node
This is use by the JavaCC parser to set the nesting level for a node and should not been used by clients.
StringArguments - Class in cz.jirutka.rsql.parser.ast
Class representing string arguments in the RSQL grammar.
StringArguments(List<String>) - Constructor for class cz.jirutka.rsql.parser.ast.StringArguments
 
StringArguments(String...) - Constructor for class cz.jirutka.rsql.parser.ast.StringArguments
 

T

tokenImage - Variable in exception cz.jirutka.rsql.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
toString() - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
 
toString() - Method in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
toString() - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
 
toString() - Method in enum cz.jirutka.rsql.parser.ast.LogicalOperator
 
toString() - Method in class cz.jirutka.rsql.parser.ast.NestedArguments
 
toString() - Method in class cz.jirutka.rsql.parser.ast.StringArguments
 
Type() - Constructor for class cz.jirutka.rsql.parser.ast.ComparisonOperator.Type
 

U

UNARY_TYPE - Static variable in class cz.jirutka.rsql.parser.ast.ComparisonOperator
 
UnknownOperatorException - Exception in cz.jirutka.rsql.parser
This exception is thrown when unknown/unsupported comparison operator is parsed.
UnknownOperatorException(String) - Constructor for exception cz.jirutka.rsql.parser.UnknownOperatorException
 
UnknownOperatorException(String, String) - Constructor for exception cz.jirutka.rsql.parser.UnknownOperatorException
 

V

valueOf(String) - Static method in enum cz.jirutka.rsql.parser.ast.LogicalOperator
Returns the enum constant of this type with the specified name.
values() - Static method in enum cz.jirutka.rsql.parser.ast.LogicalOperator
Returns an array containing the constants of this enum type, in the order they are declared.
visit(AndNode) - Method in class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
visit(OrNode) - Method in class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
visit(ComparisonNode) - Method in class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
visit(AndNode, Void) - Method in class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
visit(OrNode, Void) - Method in class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
visit(ComparisonNode, Void) - Method in class cz.jirutka.rsql.parser.ast.NoArgRSQLVisitorAdapter
 
visit(AndNode, A) - Method in interface cz.jirutka.rsql.parser.ast.RSQLVisitor
 
visit(OrNode, A) - Method in interface cz.jirutka.rsql.parser.ast.RSQLVisitor
 
visit(ComparisonNode, A) - Method in interface cz.jirutka.rsql.parser.ast.RSQLVisitor
 

W

withArguments(ComparisonArguments) - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
Returns a copy of this node with the specified arguments.
withArguments(List<String>) - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
Returns a copy of this node with the specified arguments.
withChildren(List<? extends Node>) - Method in class cz.jirutka.rsql.parser.ast.AndNode
 
withChildren(List<? extends Node>) - Method in class cz.jirutka.rsql.parser.ast.LogicalNode
Returns a copy of this node with the specified children nodes.
withChildren(List<? extends Node>) - Method in class cz.jirutka.rsql.parser.ast.OrNode
 
withOperator(ComparisonOperator) - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
Returns a copy of this node with the specified operator.
withSelector(String) - Method in class cz.jirutka.rsql.parser.ast.ComparisonNode
Returns a copy of this node with the specified selector.
A C D E G H I L M N O P R S T U V W 
Skip navigation links