- c - Variable in class org.jparsec.functors.Tuple3
-
Deprecated.
- Calculator - Class in org.jparsec.examples.calculator
-
The main calculator parser.
- Calculator() - Constructor for class org.jparsec.examples.calculator.Calculator
-
- caseInsensitive(String[], String[]) - Static method in class org.jparsec.Terminals
-
- caseInsensitive(Parser<String>, String[], String[]) - Static method in class org.jparsec.Terminals
-
- caseInsensitive(Parser<String>, String[], String[], Function<String, ?>) - Static method in class org.jparsec.Terminals
-
- caseInsensitiveKeywords(String...) - Method in class org.jparsec.Terminals.Builder
-
Defines case insensitive keywords.
- caseInsensitiveKeywords(Collection<String>) - Method in class org.jparsec.Terminals.Builder
-
Defines case insensitive keywords.
- cases - Variable in class org.jparsec.examples.java.ast.statement.SwitchStatement
-
- cases - Variable in class org.jparsec.examples.sql.ast.FullCaseExpression
-
- cases - Variable in class org.jparsec.examples.sql.ast.SimpleCaseExpression
-
- caseSensitive(String[], String[]) - Static method in class org.jparsec.Terminals
-
- caseSensitive(Parser<String>, String[], String[]) - Static method in class org.jparsec.Terminals
-
- caseSensitive(Parser<String>, String[], String[], Function<String, ?>) - Static method in class org.jparsec.Terminals
-
- cast() - Method in class org.jparsec.Parser
-
Casts
this
to a
Parser
of type
R
.
- CastExpression - Class in org.jparsec.examples.java.ast.expression
-
A cast expression.
- CastExpression(TypeLiteral, Expression) - Constructor for class org.jparsec.examples.java.ast.expression.CastExpression
-
- CatchBlock(ParameterDef, BlockStatement) - Constructor for class org.jparsec.examples.java.ast.statement.TryStatement.CatchBlock
-
- catchBlocks - Variable in class org.jparsec.examples.java.ast.statement.TryStatement
-
- character - Variable in class org.jparsec.examples.java.ast.expression.CharLiteral
-
- CharLiteral - Class in org.jparsec.examples.java.ast.expression
-
Represents a character literal.
- CharLiteral(char) - Constructor for class org.jparsec.examples.java.ast.expression.CharLiteral
-
- CharPredicate - Interface in org.jparsec.pattern
-
Evaluates a char to a boolean.
- CharPredicates - Class in org.jparsec.pattern
-
- checkArgument(boolean, String) - Static method in class org.jparsec.internal.util.Checks
-
Checks that an argument satisfies requirement.
- checkArgument(boolean, String, Object...) - Static method in class org.jparsec.internal.util.Checks
-
Checks that an argument satisfies requirement.
- checkMax(int) - Static method in class org.jparsec.internal.util.Checks
-
Checks that max
isn't negative.
- checkMin(int) - Static method in class org.jparsec.internal.util.Checks
-
Checks that min
isn't negative.
- checkMinMax(int, int) - Static method in class org.jparsec.internal.util.Checks
-
Checks that neither min
or max
is negative and min <= max
.
- checkNonNegative(int, String) - Static method in class org.jparsec.internal.util.Checks
-
Checks that n
isn't negative.
- checkNotNull(T) - Static method in class org.jparsec.internal.util.Checks
-
Checks that value
cannot be null.
- checkNotNullState(Object, String) - Static method in class org.jparsec.internal.util.Checks
-
Checks that object
is not null.
- checkNotNullState(Object, String, Object...) - Static method in class org.jparsec.internal.util.Checks
-
Checks that object
is not null.
- Checks - Class in org.jparsec.internal.util
-
Common facilities to check precondition, postcondition and invariants.
- Checks() - Constructor for class org.jparsec.internal.util.Checks
-
- checkState(boolean, String) - Static method in class org.jparsec.internal.util.Checks
-
Checks a certain state.
- checkState(boolean, String, Object...) - Static method in class org.jparsec.internal.util.Checks
-
Checks a certain state.
- classBody - Variable in class org.jparsec.examples.java.ast.expression.NewExpression
-
- ClassDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a class definition;
- ClassDef(List<Modifier>, String, List<TypeParameterDef>, TypeLiteral, List<TypeLiteral>, DefBody) - Constructor for class org.jparsec.examples.java.ast.declaration.ClassDef
-
- ClassInitializerDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a static initializer or an instance initializer.
- ClassInitializerDef(boolean, BlockStatement) - Constructor for class org.jparsec.examples.java.ast.declaration.ClassInitializerDef
-
- ClassLiteral - Class in org.jparsec.examples.java.ast.expression
-
Represents "Foo.class".
- ClassLiteral(TypeLiteral) - Constructor for class org.jparsec.examples.java.ast.expression.ClassLiteral
-
- className - Variable in class org.jparsec.examples.java.ast.expression.ClassLiteral
-
- column - Variable in class org.jparsec.error.Location
-
1-based column number.
- condition - Variable in class org.jparsec.examples.java.ast.expression.ConditionalExpression
-
- condition - Variable in class org.jparsec.examples.java.ast.statement.AssertStatement
-
- condition - Variable in class org.jparsec.examples.java.ast.statement.DoWhileStatement
-
- condition - Variable in class org.jparsec.examples.java.ast.statement.ForStatement
-
- condition - Variable in class org.jparsec.examples.java.ast.statement.IfStatement
-
- condition - Variable in class org.jparsec.examples.java.ast.statement.SwitchStatement
-
- condition - Variable in class org.jparsec.examples.java.ast.statement.WhileStatement
-
- condition - Variable in class org.jparsec.examples.sql.ast.JoinRelation
-
- condition - Variable in class org.jparsec.examples.sql.ast.SimpleCaseExpression
-
- ConditionalExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents "?:" expression.
- ConditionalExpression(Expression, Expression, Expression) - Constructor for class org.jparsec.examples.java.ast.expression.ConditionalExpression
-
- consequence - Variable in class org.jparsec.examples.java.ast.expression.ConditionalExpression
-
- constant(T) - Static method in class org.jparsec.functors.Maps
-
- constant(T) - Static method in class org.jparsec.Parsers
-
A
Parser
that always returns
v
regardless of input.
- ConstructorDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a constructor definition.
- ConstructorDef(List<Modifier>, String, List<ParameterDef>, List<TypeLiteral>, BlockStatement) - Constructor for class org.jparsec.examples.java.ast.declaration.ConstructorDef
-
- ConstructorReference - Class in org.jparsec.examples.java.ast.expression
-
- ConstructorReference(Expression) - Constructor for class org.jparsec.examples.java.ast.expression.ConstructorReference
-
- ContinueStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents "continue" statement.
- ContinueStatement(String) - Constructor for class org.jparsec.examples.java.ast.statement.ContinueStatement
-
- copy(Readable, Appendable) - Static method in class org.jparsec.examples.common.IoUtils
-
Copies all content from from
to to
.
- CrossJoinRelation - Class in org.jparsec.examples.sql.ast
-
Models cross join.
- CrossJoinRelation(Relation, Relation) - Constructor for class org.jparsec.examples.sql.ast.CrossJoinRelation
-
- Identifier - Class in org.jparsec.examples.java.ast.expression
-
Represents a simple name as expression.
- Identifier(String) - Constructor for class org.jparsec.examples.java.ast.expression.Identifier
-
- IDENTIFIER - Static variable in class org.jparsec.Scanners
-
Scanner for a regular identifier, that starts with either
an underscore or an alpha character, followed by 0 or more alphanumeric characters.
- identifier() - Static method in class org.jparsec.Terminals
-
Returns a
Parser
that recognizes identifiers (a.k.a words, variable names etc).
- identifier(String) - Static method in class org.jparsec.Tokens
-
- identity() - Static method in class org.jparsec.functors.Maps
-
- ifelse(Parser<? extends R>, Parser<? extends R>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
consequence
if
this
succeeds, or
alternative
otherwise.
- ifelse(Function<? super T, ? extends Parser<? extends R>>, Parser<? extends R>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
consequence
if
this
succeeds, or
alternative
otherwise.
- ifelse(Pattern, Pattern) - Method in class org.jparsec.pattern.Pattern
-
Returns
Pattern
object that, if this pattern matches,
matches the remaining input against
consequence
pattern, or otherwise matches against
alternative
pattern.
- IfStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents an "if" statement.
- IfStatement(Expression, Statement, List<Pair<Expression, Statement>>, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.IfStatement
-
- Import - Class in org.jparsec.examples.java.ast.declaration
-
Represents an import statement.
- Import(boolean, QualifiedName, boolean) - Constructor for class org.jparsec.examples.java.ast.declaration.Import
-
- imports - Variable in class org.jparsec.examples.java.ast.declaration.Program
-
- in(Object, Object...) - Static method in class org.jparsec.internal.util.Objects
-
Checks whether obj
is one of the elements of array
.
- incrementer - Variable in class org.jparsec.examples.java.ast.statement.ForStatement
-
- indent() - Method in class org.jparsec.Indentation
-
A
Parser
that recognizes the generated
indent
token.
- Indentation - Class in org.jparsec
-
Processes indentation based lexical structure according to the
Off-side rule.
- Indentation(Object, Object) - Constructor for class org.jparsec.Indentation
-
Creates an
Indentation
object that uses
indent
and
outdent
as the
token values for indentation and outdentation.
- Indentation() - Constructor for class org.jparsec.Indentation
-
Creates a
Indentation
object that generates default indent and outdent tokens.
- index - Variable in class org.jparsec.examples.java.ast.expression.ArraySubscriptExpression
-
- INDEX - Static variable in class org.jparsec.Parsers
-
A
Parser
that retrieves the current index in the source.
- index() - Method in class org.jparsec.Token
-
Returns the index of the token in the original source.
- infixl(Parser<? extends BiFunction<? super T, ? super T, ? extends T>>, int) - Method in class org.jparsec.OperatorTable
-
Adds an infix left-associative binary operator.
- infixl(Parser<? extends BiFunction<? super T, ? super T, ? extends T>>) - Method in class org.jparsec.Parser
-
A
Parser
for left-associative infix operator.
- infixn(Parser<? extends BiFunction<? super T, ? super T, ? extends T>>, int) - Method in class org.jparsec.OperatorTable
-
Adds an infix non-associative binary operator.
- infixn(Parser<? extends BiFunction<? super T, ? super T, ? extends T>>) - Method in class org.jparsec.Parser
-
A
Parser
that parses non-associative infix operator.
- infixr(Parser<? extends BiFunction<? super T, ? super T, ? extends T>>, int) - Method in class org.jparsec.OperatorTable
-
Adds an infix right-associative binary operator.
- infixr(Parser<? extends BiFunction<? super T, ? super T, ? extends T>>) - Method in class org.jparsec.Parser
-
A
Parser
for right-associative infix operator.
- initializer - Variable in class org.jparsec.examples.java.ast.expression.NewArrayExpression
-
- initializer - Variable in class org.jparsec.examples.java.ast.statement.ForStatement
-
- instance - Static variable in class org.jparsec.examples.java.ast.expression.NullExpression
-
- instance - Static variable in class org.jparsec.examples.java.ast.statement.NopStatement
-
- instance - Static variable in class org.jparsec.examples.sql.ast.NullExpression
-
- InstanceOfExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents "expr instanceof type".
- InstanceOfExpression(Expression, TypeLiteral) - Constructor for class org.jparsec.examples.java.ast.expression.InstanceOfExpression
-
- INTEGER - Static variable in class org.jparsec.pattern.Patterns
-
A
Pattern
object that matches an integer.
- INTEGER - Static variable in class org.jparsec.Scanners
-
Scanner for an integer.
- IntegerLiteral - Class in org.jparsec.examples.java.ast.expression
-
Represents any integral number literal.
- IntegerLiteral(IntegerLiteral.Radix, String, NumberType) - Constructor for class org.jparsec.examples.java.ast.expression.IntegerLiteral
-
- integerLiteral(String) - Static method in class org.jparsec.Tokens
-
- IntegerLiteral.Radix - Enum in org.jparsec.examples.java.ast.expression
-
- InterfaceDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents an interface definition.
- InterfaceDef(List<Modifier>, String, List<TypeParameterDef>, List<TypeLiteral>, DefBody) - Constructor for class org.jparsec.examples.java.ast.declaration.InterfaceDef
-
- interfaces - Variable in class org.jparsec.examples.java.ast.declaration.ClassDef
-
- interfaces - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef
-
- interfaces - Variable in class org.jparsec.examples.java.ast.declaration.InterfaceDef
-
- IntList - Class in org.jparsec.internal.util
-
A simple, efficient and dynamic int list.
- IntList(int) - Constructor for class org.jparsec.internal.util.IntList
-
Creates an
IntList
object with initial capacity equal to
capacity
.
- IntList() - Constructor for class org.jparsec.internal.util.IntList
-
- IoUtils - Class in org.jparsec.examples.common
-
Common utilities for working with io.
- IoUtils() - Constructor for class org.jparsec.examples.common.IoUtils
-
- IS_ALPHA - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicate
that returns true if the character is an alpha character.
- IS_ALPHA_ - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicate
that returns true if it is an alpha character or the underscore
character
_
.
- IS_ALPHA_NUMERIC - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicate
that returns true if it is an alphanumeric character, or an
underscore character.
- IS_ALPHA_NUMERIC_ - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicate
that returns true if it is an alphanumeric character, or an
underscore character.
- IS_DIGIT - Static variable in class org.jparsec.pattern.CharPredicates
-
- IS_HEX_DIGIT - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicate
that returns true if the character is a digit or within the range
of
[a-f]
or
[A-F]
.
- IS_LETTER - Static variable in class org.jparsec.pattern.CharPredicates
-
- IS_LOWER_CASE - Static variable in class org.jparsec.pattern.CharPredicates
-
- IS_UPPER_CASE - Static variable in class org.jparsec.pattern.CharPredicates
-
- IS_WHITESPACE - Static variable in class org.jparsec.pattern.CharPredicates
-
- isChar(char) - Method in interface org.jparsec.pattern.CharPredicate
-
Tests whether c
satisfies the predicate.
- isChar(char) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicate
that returns true if the character is equal to
c
.
- isChar(char) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
object that matches if the current character in the input is equal to character
c
, in which case
1
is returned as match length.
- isChar(CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
object that matches if the current character in the input satisfies
predicate
, in
which case
1
is returned as match length.
- isChar(CharPredicate) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes the current character if it satisfies the given
CharPredicate
.
- isChar(CharPredicate, String) - Static method in class org.jparsec.Scanners
-
- isChar(char, String) - Static method in class org.jparsec.Scanners
-
- isChar(char) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes the current character if it is equal to ch
.
- isStatic - Variable in class org.jparsec.examples.java.ast.declaration.ClassInitializerDef
-
- Item(Expression, boolean) - Constructor for class org.jparsec.examples.sql.ast.OrderBy.Item
-
- items - Variable in class org.jparsec.examples.sql.ast.OrderBy
-
- iterator() - Method in class org.jparsec.examples.sql.ast.QualifiedName
-
- many() - Method in class org.jparsec.Parser
-
p.many()
is equivalent to p*
in EBNF.
- many() - Method in class org.jparsec.pattern.Pattern
-
Returns a
Pattern
object that matches this pattern for 0 or more times.
- many(int) - Method in class org.jparsec.pattern.Pattern
-
- many(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
- many(CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
that matches 0 or more characters satisfying
predicate
.
- many(CharPredicate) - Static method in class org.jparsec.Scanners
-
A scanner that scans greedily for 0 or more characters that satisfies the given CharPredicate.
- many(Pattern, String) - Static method in class org.jparsec.Scanners
-
- many1() - Method in class org.jparsec.Parser
-
p.many1()
is equivalent to p+
in EBNF.
- many1() - Method in class org.jparsec.pattern.Pattern
-
Returns a
Pattern
object that matches this pattern for 1 or more times.
- many1(CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
that matches 1 or more characters satisfying
predicate
.
- many1(CharPredicate) - Static method in class org.jparsec.Scanners
-
A scanner that scans greedily for 1 or more characters that satisfies the given CharPredicate.
- many1(Pattern, String) - Static method in class org.jparsec.Scanners
-
- Map<From,To> - Interface in org.jparsec.functors
-
- map(From) - Method in interface org.jparsec.functors.Map
-
Deprecated.
Maps from
to the target object.
- map(A, B) - Method in interface org.jparsec.functors.Map2
-
Deprecated.
Maps a
and b
to the target object.
- map(A, B, C) - Method in interface org.jparsec.functors.Map3
-
Maps a
, b
and c
to the target object.
- map(A, B, C, D) - Method in interface org.jparsec.functors.Map4
-
Maps a
, b
, c
and d
to the target object.
- map(A, B, C, D, E) - Method in interface org.jparsec.functors.Map5
-
Maps a
, b
, c
, d
and e
to the target object.
- map(A, B, C, D, E, F) - Method in interface org.jparsec.functors.Map6
-
- map(A, B, C, D, E, F, G) - Method in interface org.jparsec.functors.Map7
-
- map(A, B, C, D, E, F, G, H) - Method in interface org.jparsec.functors.Map8
-
- map(Map<K, V>) - Static method in class org.jparsec.functors.Maps
-
- map(Function<? super T, ? extends R>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
parser and transforms the return value using
map
.
- map(Token) - Method in interface org.jparsec.TokenMap
-
Transforms token
to an instance of T
.
- Map2<A,B,T> - Interface in org.jparsec.functors
-
- Map3<A,B,C,T> - Interface in org.jparsec.functors
-
Maps 3 objects of type A
, B
and C
respectively to an object of type
T
.
- Map4<A,B,C,D,T> - Interface in org.jparsec.functors
-
Maps 4 objects of type A
, B
, C
and D
respectively
to an object of type T
.
- Map5<A,B,C,D,E,T> - Interface in org.jparsec.functors
-
Maps 5 objects of type A
, B
, C
, D
and E
respectively
to an object of type T
.
- Map6<A,B,C,D,E,F,T> - Interface in org.jparsec.functors
-
Maps 6 objects to an object of type T
.
- Map7<A,B,C,D,E,F,G,T> - Interface in org.jparsec.functors
-
Maps 7 objects to an object of type T
.
- Map8<A,B,C,D,E,F,G,H,T> - Interface in org.jparsec.functors
-
Maps 8 objects to an object of type T
.
- Maps - Class in org.jparsec.functors
-
Provides common implementations of
Map
interface and the variants.
- mapToString() - Static method in class org.jparsec.functors.Maps
-
- match(CharSequence, int, int) - Method in class org.jparsec.pattern.Pattern
-
Matches character range against the pattern.
- Member - Interface in org.jparsec.examples.java.ast.declaration
-
Represents any class member, interface member, enum member etc.
- members - Variable in class org.jparsec.examples.java.ast.declaration.DefBody
-
- members - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef
-
- message - Variable in class org.jparsec.examples.java.ast.statement.AssertStatement
-
- method - Variable in class org.jparsec.examples.java.ast.expression.MethodCallExpression
-
- MethodCallExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents expressions like obj.f(...)
.
- MethodCallExpression(Expression, List<TypeLiteral>, String, List<Expression>) - Constructor for class org.jparsec.examples.java.ast.expression.MethodCallExpression
-
- MethodDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a method definition.
- MethodDef(List<Modifier>, List<TypeParameterDef>, TypeLiteral, String, List<ParameterDef>, List<TypeLiteral>, Expression, BlockStatement) - Constructor for class org.jparsec.examples.java.ast.declaration.MethodDef
-
- MethodReference - Class in org.jparsec.examples.java.ast.expression
-
Represents expressions like obj::f
.
- MethodReference(Expression, List<TypeLiteral>, String) - Constructor for class org.jparsec.examples.java.ast.expression.MethodReference
-
- MISMATCH - Static variable in class org.jparsec.pattern.Pattern
-
- Modifier - Interface in org.jparsec.examples.java.ast.statement
-
Represents either a built-in modifier or annotation.
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.AnnotationDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.ClassDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.ConstructorDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.FieldDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.InterfaceDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.statement.ParameterDef
-
- modifiers - Variable in class org.jparsec.examples.java.ast.statement.VarStatement
-
- packageName - Variable in class org.jparsec.examples.java.ast.declaration.Program
-
- Pair<A,B> - Class in org.jparsec.functors
-
- Pair(A, B) - Constructor for class org.jparsec.functors.Pair
-
Deprecated.
- pair(A, B) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.
Returns a
Pair
of 2 objects.
- pair(Parser<? extends A>, Parser<? extends B>) - Static method in class org.jparsec.Parsers
-
- Parameter(TypeLiteral, String) - Constructor for class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
-
- Parameter(String) - Constructor for class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
-
- parameter - Variable in class org.jparsec.examples.java.ast.statement.TryStatement.CatchBlock
-
- ParameterDef - Class in org.jparsec.examples.java.ast.statement
-
Represents a parameter definition.
- ParameterDef(List<Modifier>, TypeLiteral, boolean, String) - Constructor for class org.jparsec.examples.java.ast.statement.ParameterDef
-
- parameters - Variable in class org.jparsec.examples.java.ast.declaration.ConstructorDef
-
- parameters - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
-
- parameters - Variable in class org.jparsec.examples.java.ast.expression.LambdaExpression
-
- parse(String) - Static method in class org.jparsec.examples.java.parser.DeclarationParser
-
Parses any Java source.
- parse(URL) - Static method in class org.jparsec.examples.java.parser.DeclarationParser
-
Parses source code read from url
.
- parse(CharSequence) - Method in class org.jparsec.Parser
-
Parses source
.
- parse(Readable) - Method in class org.jparsec.Parser
-
Parses source read from readable
.
- parse(CharSequence, Parser.Mode) - Method in class org.jparsec.Parser
-
Parses source
under the given mode
.
- parse(CharSequence, String) - Method in class org.jparsec.Parser
-
- parse(Readable, String) - Method in class org.jparsec.Parser
-
- ParseErrorDetails - Interface in org.jparsec.error
-
Describes details of a parsing error to support fine-grained error handling.
- Parser<T> - Class in org.jparsec
-
Defines grammar and encapsulates parsing logic.
- PARSER - Static variable in class org.jparsec.Terminals.CharLiteral
-
- PARSER - Static variable in class org.jparsec.Terminals.DecimalLiteral
-
- PARSER - Static variable in class org.jparsec.Terminals.Identifier
-
Parser
that recognizes identifier tokens.
- PARSER - Static variable in class org.jparsec.Terminals.IntegerLiteral
-
- PARSER - Static variable in class org.jparsec.Terminals.LongLiteral
-
- PARSER - Static variable in class org.jparsec.Terminals.ScientificNumberLiteral
-
- PARSER - Static variable in class org.jparsec.Terminals.StringLiteral
-
- Parser.Mode - Enum in org.jparsec
-
Defines the mode that a parser should be run in.
- Parser.Reference<T> - Class in org.jparsec
-
An atomic mutable reference to
Parser
used in recursive grammars.
- ParserException - Exception in org.jparsec.error
-
Is thrown when any grammar error happens or any exception is thrown during parsing.
- ParserException(ParseErrorDetails, Location) - Constructor for exception org.jparsec.error.ParserException
-
- ParserException(ParseErrorDetails, String, Location) - Constructor for exception org.jparsec.error.ParserException
-
Deprecated.
- ParserException(Throwable, ParseErrorDetails, String, Location) - Constructor for exception org.jparsec.error.ParserException
-
Deprecated.
- Parsers - Class in org.jparsec
-
Provides common
Parser
implementations.
- parseTree(CharSequence) - Method in class org.jparsec.Parser
-
Parses
source
and returns a
ParseTree
corresponding to the syntactical
structure of the input.
- ParseTree - Class in org.jparsec
-
Represents the syntactical structure of the input being parsed.
- pattern - Variable in class org.jparsec.examples.sql.ast.LikeExpression
-
- Pattern - Class in org.jparsec.pattern
-
Encapsulates algorithm to recognize certain string pattern.
- Pattern() - Constructor for class org.jparsec.pattern.Pattern
-
- pattern(Pattern, String) - Static method in class org.jparsec.Scanners
-
- Patterns - Class in org.jparsec.pattern
-
Provides common
Pattern
implementations.
- peek() - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
and undoes any input consumption if succeeds.
- peek() - Method in class org.jparsec.pattern.Pattern
-
Returns
Pattern
object that matches with match length 0 if this Pattern object matches.
- phrase(String) - Static method in class org.jparsec.examples.java.parser.TerminalParser
-
- postfix(Parser<? extends Function<? super T, ? extends T>>, int) - Method in class org.jparsec.OperatorTable
-
Adds a postfix unary operator.
- postfix(Parser<? extends Function<? super T, ? extends T>>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
and then runs
op
for 0 or more times greedily.
- PostfixUnaryExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents expression with postfix unary operator.
- PostfixUnaryExpression(Expression, Operator) - Constructor for class org.jparsec.examples.java.ast.expression.PostfixUnaryExpression
-
- prefix(Parser<? extends Function<? super T, ? extends T>>, int) - Method in class org.jparsec.OperatorTable
-
Adds a prefix unary operator.
- prefix(Parser<? extends Function<? super T, ? extends T>>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
op
for 0 or more times greedily, then runs
this
.
- PrefixUnaryExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents expression with prefix unary operator.
- PrefixUnaryExpression(Operator, Expression) - Constructor for class org.jparsec.examples.java.ast.expression.PrefixUnaryExpression
-
- prependEach(String, Iterable<?>) - Static method in class org.jparsec.examples.common.Strings
-
Prepends delim
before each object of objects
.
- Private - Annotation Type in org.jparsec.internal.annotations
-
Annotates anything that should be private but is allowing test cases to access it.
- Program - Class in org.jparsec.examples.java.ast.declaration
-
Represents a single java source file.
- Program(QualifiedName, List<Import>, List<Declaration>) - Constructor for class org.jparsec.examples.java.ast.declaration.Program
-
- program() - Static method in class org.jparsec.examples.java.parser.DeclarationParser
-
- Projection - Class in org.jparsec.examples.sql.ast
-
Represents a single projection in a select statement, it can be either an expression, a wildcard
or an expression with an alias.
- Projection(Expression, String) - Constructor for class org.jparsec.examples.sql.ast.Projection
-
- projections - Variable in class org.jparsec.examples.sql.ast.Select
-
- Scanners - Class in org.jparsec
-
Provides common
Parser
implementations that scan the source and match certain string
patterns.
- SCIENTIFIC_NOTATION - Static variable in class org.jparsec.pattern.Patterns
-
A
Pattern
object that matches a scientific notation, such as
1e12
,
1.2E-1
, etc.
- SCIENTIFIC_NOTATION - Static variable in class org.jparsec.Scanners
-
Scanner for a scientific notation.
- scientificNotation(String, String) - Static method in class org.jparsec.Tokens
-
- ScientificNotation(String, String) - Constructor for class org.jparsec.Tokens.ScientificNotation
-
- ScientificNumberLiteral - Class in org.jparsec.examples.java.ast.expression
-
Represents scientific notation number.
- ScientificNumberLiteral(String, NumberType) - Constructor for class org.jparsec.examples.java.ast.expression.ScientificNumberLiteral
-
- Select - Class in org.jparsec.examples.sql.ast
-
Models the select statement.
- Select(boolean, List<Projection>, List<Relation>, Expression, GroupBy, OrderBy) - Constructor for class org.jparsec.examples.sql.ast.Select
-
- sepBy(Parser<?>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
0 or more times separated by
delim
.
- sepBy1(Parser<?>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
1 or more times separated by
delim
.
- sepEndBy(Parser<?>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
for 0 ore more times separated and optionally terminated by
delim
.
- sepEndBy1(Parser<?>) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
for 1 ore more times separated and optionally terminated by
delim
.
- sequence(Parser<?>, Parser<T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 2 parser objects sequentially.
- sequence(Parser<?>, Parser<?>, Parser<T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 3 parser objects sequentially.
- sequence(Parser<?>, Parser<?>, Parser<?>, Parser<T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 4 parser objects sequentially.
- sequence(Parser<?>, Parser<?>, Parser<?>, Parser<?>, Parser<T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 5 parser objects sequentially.
- sequence(Parser<A>, Parser<B>, BiFunction<? super A, ? super B, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs
p1
and
p2
sequentially
and transforms the return values using
map
.
- sequence(Parser<A>, Parser<B>, Parser<C>, Map3<? super A, ? super B, ? super C, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 3 parser objects sequentially and transforms the return values
using
map
.
- sequence(Parser<A>, Parser<B>, Parser<C>, Parser<D>, Map4<? super A, ? super B, ? super C, ? super D, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 4 parser objects sequentially and transforms the return values
using
map
.
- sequence(Parser<A>, Parser<B>, Parser<C>, Parser<D>, Parser<E>, Map5<? super A, ? super B, ? super C, ? super D, ? super E, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 5 parser objects sequentially and transforms the return values
using
map
.
- sequence(Parser<A>, Parser<B>, Parser<C>, Parser<D>, Parser<E>, Parser<F>, Map6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 6 parser objects sequentially and transforms the return values
using
map
.
- sequence(Parser<A>, Parser<B>, Parser<C>, Parser<D>, Parser<E>, Parser<F>, Parser<G>, Map7<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 7 parser objects sequentially and transforms the return values
using
map
.
- sequence(Parser<A>, Parser<B>, Parser<C>, Parser<D>, Parser<E>, Parser<F>, Parser<G>, Parser<H>, Map8<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? super H, ? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs 7 parser objects sequentially and transforms the return values
using
map
.
- sequence(Parser<?>...) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs
parsers
sequentially and discards the return values.
- sequence(Iterable<? extends Parser<?>>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs
parsers
sequentially and discards the return values.
- sequence(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
object that matches the input against
patterns
sequentially.
- SequentialRule - Class in org.jparsec.examples.bnf.ast
-
Represents a sequential rule.
- SequentialRule(List<Rule>) - Constructor for class org.jparsec.examples.bnf.ast.SequentialRule
-
- set(int, int) - Method in class org.jparsec.internal.util.IntList
-
Sets the value at index i
to val
.
- setParseTree(ParseTree) - Method in exception org.jparsec.error.ParserException
-
- shorter(Parser<? extends T>, Parser<? extends T>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs both
p1
and
p2
and selects the shorter match.
- shorter(Pattern, Pattern) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
that tries both
p1
and
p2
, and picks the one with the shorter match
length.
- shortest(Parser<? extends T>...) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs every element of
parsers
and selects the shortest match.
- shortest(Iterable<? extends Parser<? extends T>>) - Static method in class org.jparsec.Parsers
-
A
Parser
that runs every element of
parsers
and selects the shortest match.
- shortest(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
that tries all of
patterns
, and picks the one with the shortest match length.
- significand - Variable in class org.jparsec.Tokens.ScientificNotation
-
The significand (mantissa) before the "E".
- SimpleCaseExpression - Class in org.jparsec.examples.sql.ast
-
The "{@code case expr when cond then val ...
- SimpleCaseExpression(Expression, List<Pair<Expression, Expression>>, Expression) - Constructor for class org.jparsec.examples.sql.ast.SimpleCaseExpression
-
- SimpleTypeLiteral - Class in org.jparsec.examples.java.ast.type
-
Represents a non-array type literal.
- SimpleTypeLiteral(List<String>, List<TypeLiteral>) - Constructor for class org.jparsec.examples.java.ast.type.SimpleTypeLiteral
-
- SINGLE_QUOTE_CHAR - Static variable in class org.jparsec.Scanners
-
Scanner for a c/c++/java style character literal.
- SINGLE_QUOTE_STRING - Static variable in class org.jparsec.Scanners
-
Scanner with a pattern for SQL style string literal.
- SINGLE_QUOTE_TOKENIZER - Static variable in class org.jparsec.Terminals.CharLiteral
-
A tokenizer that parses single quoted character literal (escaped by
'\'
),
and then converts the character to a
Character
token.
- SINGLE_QUOTE_TOKENIZER - Static variable in class org.jparsec.Terminals.StringLiteral
-
A tokenizer that parses single quoted string literal (single quote is escaped with
another single quote), and transforms the quoted content by applying escape characters.
- size() - Method in class org.jparsec.internal.util.IntList
-
Gets the number of int values stored.
- skipAtLeast(int) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
parser greedily for at least
min
times and ignores the return
values.
- skipMany() - Method in class org.jparsec.Parser
-
p.skipMany()
is equivalent to p*
in EBNF.
- skipMany1() - Method in class org.jparsec.Parser
-
p.skipMany1()
is equivalent to p+
in EBNF.
- skipTimes(int) - Method in class org.jparsec.Parser
-
A
Parser
that sequentially runs
this
for
n
times and ignores the return values.
- skipTimes(int, int) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
parser for at least
min
times and up to
max
times, with
all the return values ignored.
- some(int) - Method in class org.jparsec.pattern.Pattern
-
- some(int, int) - Method in class org.jparsec.pattern.Pattern
-
- some(int, int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
- some(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
- source() - Method in class org.jparsec.Parser
-
A
Parser
that returns the matched string in the original source.
- SQL_BLOCK_COMMENT - Static variable in class org.jparsec.Scanners
-
Scanner for SQL style block comment.
- SQL_DELIMITER - Static variable in class org.jparsec.Scanners
-
Scanner for the SQL style delimiter of tokens.
- SQL_LINE_COMMENT - Static variable in class org.jparsec.Scanners
-
Scanner for SQL style line comment.
- statement - Variable in class org.jparsec.examples.java.ast.statement.DoWhileStatement
-
- statement - Variable in class org.jparsec.examples.java.ast.statement.ForeachStatement
-
- statement - Variable in class org.jparsec.examples.java.ast.statement.ForStatement
-
- statement - Variable in class org.jparsec.examples.java.ast.statement.LabelStatement
-
- Statement - Interface in org.jparsec.examples.java.ast.statement
-
Represents any statement.
- statement - Variable in class org.jparsec.examples.java.ast.statement.WhileStatement
-
- StatementParser - Class in org.jparsec.examples.java.parser
-
Parses a statement.
- StatementParser() - Constructor for class org.jparsec.examples.java.parser.StatementParser
-
- statements - Variable in class org.jparsec.examples.java.ast.statement.BlockStatement
-
- staticImport - Variable in class org.jparsec.examples.java.ast.declaration.Import
-
- STRICT_DECIMAL - Static variable in class org.jparsec.pattern.Patterns
-
A
Pattern
object that matches a decimal number that has at least one digit before the decimal point.
- string - Variable in class org.jparsec.examples.java.ast.expression.StringLiteral
-
- string - Variable in class org.jparsec.examples.sql.ast.StringExpression
-
- string(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
object that matches
string
literally.
- string(String) - Static method in class org.jparsec.Scanners
-
Matches the input against the specified string.
- string(String, String) - Static method in class org.jparsec.Scanners
-
- stringCaseInsensitive(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
object that matches
string
case insensitively.
- stringCaseInsensitive(String, String) - Static method in class org.jparsec.Scanners
-
- stringCaseInsensitive(String) - Static method in class org.jparsec.Scanners
-
A scanner that matches the input against the specified string case insensitively.
- StringExpression - Class in org.jparsec.examples.sql.ast
-
A string literal.
- StringExpression(String) - Constructor for class org.jparsec.examples.sql.ast.StringExpression
-
- StringLiteral - Class in org.jparsec.examples.java.ast.expression
-
Represents a string literal.
- StringLiteral(String) - Constructor for class org.jparsec.examples.java.ast.expression.StringLiteral
-
- Strings - Class in org.jparsec.examples.common
-
Manipulates String.
- Strings() - Constructor for class org.jparsec.examples.common.Strings
-
- Strings - Class in org.jparsec.internal.util
-
Internal utility for
String
operation.
- Strings() - Constructor for class org.jparsec.internal.util.Strings
-
- succeeds() - Method in class org.jparsec.Parser
-
A
Parser
that returns
true
if
this
succeeds,
false
otherwise.
- SuperCallStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a "this(params)" statement.
- SuperCallStatement(List<Expression>) - Constructor for class org.jparsec.examples.java.ast.statement.SuperCallStatement
-
- superclass - Variable in class org.jparsec.examples.java.ast.declaration.ClassDef
-
- SuperExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents the "super" keyword.
- SuperExpression() - Constructor for class org.jparsec.examples.java.ast.expression.SuperExpression
-
- SwitchStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the "switch case" expression.
- SwitchStatement(Expression, List<Pair<Expression, Statement>>, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.SwitchStatement
-
- SynchronizedBlockStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents "synchronized" block.
- SynchronizedBlockStatement(Statement) - Constructor for class org.jparsec.examples.java.ast.statement.SynchronizedBlockStatement
-
- SystemModifier - Enum in org.jparsec.examples.java.ast.statement
-
Represents built in modifiers.
- tableName - Variable in class org.jparsec.examples.sql.ast.TableRelation
-
- TableRelation - Class in org.jparsec.examples.sql.ast
-
Models a table name.
- TableRelation(QualifiedName) - Constructor for class org.jparsec.examples.sql.ast.TableRelation
-
- tag() - Method in class org.jparsec.Tokens.Fragment
-
Returns the tag of the token value.
- target - Variable in class org.jparsec.examples.java.ast.expression.MethodCallExpression
-
- term(String) - Static method in class org.jparsec.examples.java.parser.TerminalParser
-
- TerminalParser - Class in org.jparsec.examples.bnf.parser
-
Parses terminals in a bnf.
- TerminalParser() - Constructor for class org.jparsec.examples.bnf.parser.TerminalParser
-
- TerminalParser - Class in org.jparsec.examples.java.parser
-
Parser for terminals.
- TerminalParser() - Constructor for class org.jparsec.examples.java.parser.TerminalParser
-
- Terminals - Class in org.jparsec
-
Provides convenient API to build lexer and parsers for terminals.
- Terminals.Builder - Class in org.jparsec
-
Builds
Terminals
instance by defining the words and keywords recognized.
- Terminals.CharLiteral - Class in org.jparsec
-
Entry point for parser and tokenizers of character literal.
- Terminals.DecimalLiteral - Class in org.jparsec
-
Entry point for parser and tokenizers of decimal number literal represented as
String
.
- Terminals.Identifier - Class in org.jparsec
-
Entry point for parser and tokenizers of regular identifier.
- Terminals.IntegerLiteral - Class in org.jparsec
-
Entry point for any arbitrary integer literal represented as a
String
.
- Terminals.LongLiteral - Class in org.jparsec
-
Entry point for parser and tokenizers of integral number literal represented as
Long
.
- Terminals.ScientificNumberLiteral - Class in org.jparsec
-
Entry point for parser and tokenizers of scientific notation literal.
- Terminals.StringLiteral - Class in org.jparsec
-
Entry point for parser and tokenizers of string literal.
- text() - Method in class org.jparsec.Tokens.Fragment
-
Returns the text of the token value.
- then - Variable in class org.jparsec.examples.java.ast.statement.IfStatement
-
- ThisCallStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a "this(params)" statement.
- ThisCallStatement(List<Expression>) - Constructor for class org.jparsec.examples.java.ast.statement.ThisCallStatement
-
- ThisExpression - Class in org.jparsec.examples.java.ast.expression
-
"this" or "A.B.this".
- ThisExpression(List<String>) - Constructor for class org.jparsec.examples.java.ast.expression.ThisExpression
-
- thrown - Variable in class org.jparsec.examples.java.ast.statement.ThrowStatement
-
- ThrowStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a "throw" statement.
- ThrowStatement(Expression) - Constructor for class org.jparsec.examples.java.ast.statement.ThrowStatement
-
- times(int) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
for
n
times and collects the return values in a
List
.
- times(int, int) - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
parser for at least
min
times and up to
max
times.
- times(int, int) - Method in class org.jparsec.pattern.Pattern
-
Returns
Pattern
object that matches this pattern for at least
min
times
and up to
max
times.
- times(int) - Method in class org.jparsec.pattern.Pattern
-
Returns
Pattern
object that matches the input against this pattern for
n
times.
- times(int, int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Pattern
that matches at least
min
and up to
max
number of characters satisfying
predicate
,
- to - Variable in class org.jparsec.examples.sql.ast.BetweenExpression
-
- TO_INTEGER - Static variable in class org.jparsec.functors.Maps
-
- TO_LOWER_CASE - Static variable in class org.jparsec.functors.Maps
-
- TO_UPPER_CASE - Static variable in class org.jparsec.functors.Maps
-
- toArray() - Method in class org.jparsec.internal.util.IntList
-
Creates a int[]
object with all the elements.
- toEnum(Class<E>) - Static method in class org.jparsec.functors.Maps
-
- token() - Method in class org.jparsec.Parser
-
A
Parser
that runs
this
and wraps the return value in a
Token
.
- token(TokenMap<? extends T>) - Static method in class org.jparsec.Parsers
-
Checks the current token with the fromToken
object.
- Token - Class in org.jparsec
-
Represents any token with a token value and the 0-based index in the source.
- Token(int, int, Object) - Constructor for class org.jparsec.Token
-
- TOKENIZER - Static variable in class org.jparsec.Terminals.DecimalLiteral
-
- TOKENIZER - Static variable in class org.jparsec.Terminals.Identifier
-
- TOKENIZER - Static variable in class org.jparsec.Terminals.IntegerLiteral
-
- TOKENIZER - Static variable in class org.jparsec.Terminals.LongLiteral
-
A tokenizer that parses decimal, hex, and octal numbers and converts the string to a
Long
value.
- TOKENIZER - Static variable in class org.jparsec.Terminals.ScientificNumberLiteral
-
- tokenizeWordsWith(Function<String, ?>) - Method in class org.jparsec.Terminals.Builder
-
Configures alternative tokenization strategy for words (except keywords).
- TokenMap<T> - Interface in org.jparsec
-
Maps a
Token
to a an object of type
T
, or null if the token isn't recognized.
- Tokens - Class in org.jparsec
-
Provides common token values.
- Tokens.Fragment - Class in org.jparsec
-
Represents a fragment tagged according to its semantics.
- Tokens.ScientificNotation - Class in org.jparsec
-
Represents a scientific notation with a significand (mantissa) and an exponent.
- Tokens.Tag - Enum in org.jparsec
-
- tokenType(Class<? extends T>, String) - Static method in class org.jparsec.Parsers
-
Checks whether the current token value is of type
, in which case, the token value is
returned and parse succeeds.
- toLowerCase(Locale) - Static method in class org.jparsec.functors.Maps
-
- toPair() - Static method in class org.jparsec.functors.Maps
-
A
Map2
object that maps 2 values into a
Pair
object.
- toScanner(String) - Method in class org.jparsec.pattern.Pattern
-
Returns a scanner parser using this
pattern.
- toString() - Method in class org.jparsec.error.Location
-
- toString() - Method in class org.jparsec.examples.bnf.ast.AltRule
-
- toString() - Method in class org.jparsec.examples.bnf.ast.LiteralRule
-
- toString() - Method in class org.jparsec.examples.bnf.ast.QuantifiedRule
-
- toString() - Method in enum org.jparsec.examples.bnf.ast.Quantifier
-
- toString() - Method in class org.jparsec.examples.bnf.ast.RuleDef
-
- toString() - Method in class org.jparsec.examples.bnf.ast.RuleReference
-
- toString() - Method in class org.jparsec.examples.bnf.ast.SequentialRule
-
- toString() - Method in class org.jparsec.examples.common.ValueObject
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.AnnotationDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.ClassDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.ClassInitializerDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.ConstructorDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.DefBody
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.EnumDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.EnumDef.Value
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.FieldDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.Import
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.InterfaceDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.MethodDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.NestedDef
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.Program
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.QualifiedName
-
- toString() - Method in class org.jparsec.examples.java.ast.declaration.TypeParameterDef
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ArrayInitializer
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ArraySubscriptExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.BinaryExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.BooleanLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.CastExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.CharLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ClassLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ConditionalExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ConstructorReference
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.DecimalPointNumberLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.Identifier
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.InstanceOfExpression
-
- toString() - Method in enum org.jparsec.examples.java.ast.expression.IntegerLiteral.Radix
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.IntegerLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.LambdaExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.MethodCallExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.MethodReference
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.NewArrayExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.NewExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.NullExpression
-
- toString() - Method in enum org.jparsec.examples.java.ast.expression.NumberType
-
- toString() - Method in enum org.jparsec.examples.java.ast.expression.Operator
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.PostfixUnaryExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.PrefixUnaryExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.QualifiedExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ScientificNumberLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.StringLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.SuperExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.expression.ThisExpression
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.Annotation.Element
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.Annotation
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.AssertStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.BlockStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.BreakStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ContinueStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.DoWhileStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ExpressionListStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ExpressionStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ForeachStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ForStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.IfStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.LabelStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.NopStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ParameterDef
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ReturnStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.SuperCallStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.SwitchStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.SynchronizedBlockStatement
-
- toString() - Method in enum org.jparsec.examples.java.ast.statement.SystemModifier
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ThisCallStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.ThrowStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.TryStatement.CatchBlock
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.TryStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.VarStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.VarStatement.Var
-
- toString() - Method in class org.jparsec.examples.java.ast.statement.WhileStatement
-
- toString() - Method in class org.jparsec.examples.java.ast.type.ArrayTypeLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.type.LowerBoundWildcard
-
- toString() - Method in class org.jparsec.examples.java.ast.type.SimpleTypeLiteral
-
- toString() - Method in class org.jparsec.examples.java.ast.type.UpperBoundWildcard
-
- toString() - Method in class org.jparsec.functors.Pair
-
Deprecated.
- toString() - Method in class org.jparsec.functors.Tuple3
-
Deprecated.
- toString() - Method in class org.jparsec.functors.Tuple4
-
Deprecated.
- toString() - Method in class org.jparsec.functors.Tuple5
-
Deprecated.
- toString() - Method in class org.jparsec.ParseTree
-
- toString() - Method in class org.jparsec.Token
-
Returns the string representation of the token value.
- toString() - Method in class org.jparsec.Tokens.Fragment
-
- toString() - Method in class org.jparsec.Tokens.ScientificNotation
-
- toString() - Method in class org.jparsec.WithSource
-
Returns the underlying source text.
- toTuple3() - Static method in class org.jparsec.functors.Maps
-
Deprecated.
- toTuple4() - Static method in class org.jparsec.functors.Maps
-
Deprecated.
- toTuple5() - Static method in class org.jparsec.functors.Maps
-
Deprecated.
- toUpperCase(Locale) - Static method in class org.jparsec.functors.Maps
-
- tryBlock - Variable in class org.jparsec.examples.java.ast.statement.TryStatement
-
- TryStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the "try-catch-finally" statement.
- TryStatement(BlockStatement, List<TryStatement.CatchBlock>, BlockStatement) - Constructor for class org.jparsec.examples.java.ast.statement.TryStatement
-
- TryStatement.CatchBlock - Class in org.jparsec.examples.java.ast.statement
-
- tuple(A, B) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.
Returns a
Pair
of 2 objects.
- tuple(A, B, C) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.
Returns a
Tuple3
of 3 objects.
- tuple(A, B, C, D) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.
Returns a
Tuple4
of 4 objects.
- tuple(A, B, C, D, E) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.
Returns a
Tuple5
of 5 objects.
- tuple(Parser<? extends A>, Parser<? extends B>) - Static method in class org.jparsec.Parsers
-
- tuple(Parser<? extends A>, Parser<? extends B>, Parser<? extends C>) - Static method in class org.jparsec.Parsers
-
- tuple(Parser<? extends A>, Parser<? extends B>, Parser<? extends C>, Parser<? extends D>) - Static method in class org.jparsec.Parsers
-
- tuple(Parser<? extends A>, Parser<? extends B>, Parser<? extends C>, Parser<? extends D>, Parser<? extends E>) - Static method in class org.jparsec.Parsers
-
- Tuple3<A,B,C> - Class in org.jparsec.functors
-
- Tuple3(A, B, C) - Constructor for class org.jparsec.functors.Tuple3
-
Deprecated.
- Tuple4<A,B,C,D> - Class in org.jparsec.functors
-
- Tuple4(A, B, C, D) - Constructor for class org.jparsec.functors.Tuple4
-
Deprecated.
- Tuple5<A,B,C,D,E> - Class in org.jparsec.functors
-
- Tuple5(A, B, C, D, E) - Constructor for class org.jparsec.functors.Tuple5
-
Deprecated.
- TupleExpression - Class in org.jparsec.examples.sql.ast
-
Models a tuple of expressions such as "(1, 2, 3)".
- TupleExpression(List<Expression>) - Constructor for class org.jparsec.examples.sql.ast.TupleExpression
-
- Tuples - Class in org.jparsec.functors
-
- Tuples() - Constructor for class org.jparsec.functors.Tuples
-
Deprecated.
- type - Variable in class org.jparsec.examples.java.ast.declaration.FieldDef
-
- type - Variable in class org.jparsec.examples.java.ast.expression.CastExpression
-
- type - Variable in class org.jparsec.examples.java.ast.expression.DecimalPointNumberLiteral
-
- type - Variable in class org.jparsec.examples.java.ast.expression.IntegerLiteral
-
- type - Variable in class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
-
- type - Variable in class org.jparsec.examples.java.ast.expression.NewExpression
-
- type - Variable in class org.jparsec.examples.java.ast.expression.ScientificNumberLiteral
-
- type - Variable in class org.jparsec.examples.java.ast.statement.Annotation
-
- type - Variable in class org.jparsec.examples.java.ast.statement.ForeachStatement
-
- type - Variable in class org.jparsec.examples.java.ast.statement.ParameterDef
-
- type - Variable in class org.jparsec.examples.java.ast.statement.VarStatement
-
- typeLiteral - Variable in class org.jparsec.examples.java.ast.expression.InstanceOfExpression
-
- TypeLiteral - Interface in org.jparsec.examples.java.ast.type
-
Represents a type literal.
- TypeLiteralParser - Class in org.jparsec.examples.java.parser
-
Parses any type literal.
- TypeLiteralParser() - Constructor for class org.jparsec.examples.java.parser.TypeLiteralParser
-
- TypeParameterDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a type parameter in a type or method definition.
- TypeParameterDef(String, TypeLiteral) - Constructor for class org.jparsec.examples.java.ast.declaration.TypeParameterDef
-
- typeParameters - Variable in class org.jparsec.examples.java.ast.declaration.ClassDef
-
- typeParameters - Variable in class org.jparsec.examples.java.ast.declaration.InterfaceDef
-
- typeParameters - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
-
- typeParameters - Variable in class org.jparsec.examples.java.ast.expression.MethodCallExpression
-
- typeParameters - Variable in class org.jparsec.examples.java.ast.expression.MethodReference
-
- Value(String, List<Expression>, List<Member>) - Constructor for class org.jparsec.examples.java.ast.declaration.EnumDef.Value
-
- value - Variable in class org.jparsec.examples.java.ast.declaration.FieldDef
-
- value - Variable in class org.jparsec.examples.java.ast.expression.BooleanLiteral
-
- value - Variable in class org.jparsec.examples.java.ast.statement.Annotation.Element
-
- value - Variable in class org.jparsec.examples.java.ast.statement.ReturnStatement
-
- value - Variable in class org.jparsec.examples.java.ast.statement.VarStatement.Var
-
- value() - Method in class org.jparsec.Token
-
Returns the token value.
- ValueObject - Class in org.jparsec.examples.common
-
- ValueObject() - Constructor for class org.jparsec.examples.common.ValueObject
-
- valueOf(String) - Static method in enum org.jparsec.examples.bnf.ast.Quantifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.examples.java.ast.expression.IntegerLiteral.Radix
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.examples.java.ast.expression.NumberType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.examples.java.ast.expression.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.examples.java.ast.statement.SystemModifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.examples.sql.ast.JoinType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.examples.sql.ast.Op
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.Parser.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jparsec.Tokens.Tag
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jparsec.examples.bnf.ast.Quantifier
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef
-
- values - Variable in class org.jparsec.examples.java.ast.expression.ArrayInitializer
-
- values() - Static method in enum org.jparsec.examples.java.ast.expression.IntegerLiteral.Radix
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.examples.java.ast.expression.NumberType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.examples.java.ast.expression.Operator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.examples.java.ast.statement.SystemModifier
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.examples.sql.ast.JoinType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.examples.sql.ast.Op
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.Parser.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jparsec.Tokens.Tag
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- var - Variable in class org.jparsec.examples.java.ast.statement.ForeachStatement
-
- Var(String, Expression) - Constructor for class org.jparsec.examples.java.ast.statement.VarStatement.Var
-
- vararg - Variable in class org.jparsec.examples.java.ast.statement.ParameterDef
-
- vars - Variable in class org.jparsec.examples.java.ast.statement.VarStatement
-
- VarStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a single variable declaration.
- VarStatement(List<Modifier>, TypeLiteral, List<VarStatement.Var>) - Constructor for class org.jparsec.examples.java.ast.statement.VarStatement
-
- VarStatement.Var - Class in org.jparsec.examples.java.ast.statement
-