Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a - Variable in class org.jparsec.functors.Pair
-
Deprecated.
- AAND - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- ABSTRACT - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- ADIV - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- adjacent(String) - Static method in class org.jparsec.examples.java.parser.TerminalParser
- adjacent(Parser, Parser) - Static method in class org.jparsec.examples.java.parser.TerminalParser
- alias - Variable in class org.jparsec.examples.sql.ast.AliasedRelation
- alias - Variable in class org.jparsec.examples.sql.ast.Projection
- AliasedRelation - Class in org.jparsec.examples.sql.ast
-
An aliased relation.
- AliasedRelation(Relation, String) - Constructor for class org.jparsec.examples.sql.ast.AliasedRelation
- all - Variable in class org.jparsec.examples.sql.ast.UnionRelation
- ALSHIFT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- alternative - Variable in class org.jparsec.examples.java.ast.expression.ConditionalExpression
- alternatives - Variable in class org.jparsec.examples.bnf.ast.AltRule
- AltRule - Class in org.jparsec.examples.bnf.ast
-
Represents a rule with a bunch of alternatives.
- AltRule(List) - Constructor for class org.jparsec.examples.bnf.ast.AltRule
- always() - Static method in class org.jparsec.Parsers
-
Parserthat always succeeds. - ALWAYS - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat always returns true. - ALWAYS - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternthat always matches with match length0. - AMINUS - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- AMOD - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- among(String) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is equal to any character inchars. - among(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the current character in the input is equal to any character inchars, in which case1is returned as match length. - among(String) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes the current character if it equals to any character in
chars. - among(String, String) - Static method in class org.jparsec.Scanners
-
Deprecated.
- AMUL - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- and(CharPredicate...) - Static method in class org.jparsec.pattern.CharPredicates
- and(CharPredicate, CharPredicate) - Static method in class org.jparsec.pattern.CharPredicates
- and(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat matches if all ofpatternsmatches, in which case, the maximum match length is returned. - AND - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- AND - Enum constant in enum org.jparsec.examples.sql.ast.Op
- Annotation - Class in org.jparsec.examples.java.ast.statement
-
Represents the use of an annotation.
- Annotation(TypeLiteral, List) - Constructor for class org.jparsec.examples.java.ast.statement.Annotation
- Annotation.Element - Class in org.jparsec.examples.java.ast.statement
- AnnotationDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents an annotation definition.
- AnnotationDef(List, String, DefBody) - Constructor for class org.jparsec.examples.java.ast.declaration.AnnotationDef
- ANY_CHAR - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternthat matches any character and only mismatches for an empty string. - ANY_CHAR - Static variable in class org.jparsec.Scanners
-
Matches any character in the input.
- ANY_TOKEN - Static variable in class org.jparsec.Parsers
-
A
Parserthat consumes a token. - AOR - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- APLUS - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- apply(A, B) - Method in interface org.jparsec.functors.Map2
-
Deprecated.
- apply(From) - Method in interface org.jparsec.functors.Map
-
Deprecated.
- args - Variable in class org.jparsec.examples.java.ast.statement.SuperCallStatement
- args - Variable in class org.jparsec.examples.java.ast.statement.ThisCallStatement
- args - Variable in class org.jparsec.examples.sql.ast.FunctionExpression
- arguments - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef.Value
- arguments - Variable in class org.jparsec.examples.java.ast.expression.MethodCallExpression
- arguments - Variable in class org.jparsec.examples.java.ast.expression.NewExpression
- arguments - Variable in class org.jparsec.examples.java.ast.type.SimpleTypeLiteral
- array - Variable in class org.jparsec.examples.java.ast.expression.ArraySubscriptExpression
- array(Parser...) - Static method in class org.jparsec.Parsers
-
A
Parserthat sequentially runsparsersone by one and collects the return values in an array. - arrayInitializer(Parser) - Static method in class org.jparsec.examples.java.parser.ExpressionParser
- ArrayInitializer - Class in org.jparsec.examples.java.ast.expression
-
Represents array initializer used in variable definition.
- ArrayInitializer(List) - Constructor for class org.jparsec.examples.java.ast.expression.ArrayInitializer
- ArraySubscriptExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents an "array[i]" expression.
- ArraySubscriptExpression(Expression, Expression) - Constructor for class org.jparsec.examples.java.ast.expression.ArraySubscriptExpression
- ArrayTypeLiteral - Class in org.jparsec.examples.java.ast.type
-
Represents an array type literal.
- ArrayTypeLiteral(TypeLiteral) - Constructor for class org.jparsec.examples.java.ast.type.ArrayTypeLiteral
- ARSHIFT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- ascending - Variable in class org.jparsec.examples.sql.ast.OrderBy.Item
- asOptional() - Method in class org.jparsec.Parser
-
p.asOptional()is equivalent top?in EBNF. - assertEqual(Object, Object...) - Static method in class org.jparsec.util.ObjectTester
- assertNotEqual(Object, Object...) - Static method in class org.jparsec.util.ObjectTester
- AssertStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents an "assert" statement.
- AssertStatement(Expression, Expression) - Constructor for class org.jparsec.examples.java.ast.statement.AssertStatement
- ASSIGNMENT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- atLeast(int) - Method in class org.jparsec.Parser
- atLeast(int) - Method in class org.jparsec.pattern.Pattern
-
Returns
Patternobject that matches this pattern for at leastmintimes. - atLeast(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the input starts withminor more characters and all satisfypredicate. - atMost(int) - Method in class org.jparsec.pattern.Pattern
-
Returns
Patternobject that matches this pattern for up tomaxtimes. - atMost(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
- atomic() - Method in class org.jparsec.Parser
-
A
Parserthat undoes any partial match ifthisfails. - AXOR - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
B
- b - Variable in class org.jparsec.functors.Pair
-
Deprecated.
- between - Variable in class org.jparsec.examples.sql.ast.BetweenExpression
- between(Parser, Parser) - Method in class org.jparsec.Parser
- between(Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
Equivalent to
Parser.between(Parser, Parser). - BetweenExpression - Class in org.jparsec.examples.sql.ast
-
Expression like "expr between a and b".
- BetweenExpression(Expression, boolean, Expression, Expression) - Constructor for class org.jparsec.examples.sql.ast.BetweenExpression
- Binary<T> - Interface in org.jparsec.functors
-
Deprecated.Use
BinaryOperatorinstead. - BinaryExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents binary expression such as "a + b".
- BinaryExpression - Class in org.jparsec.examples.sql.ast
-
An expression of binary operator.
- BinaryExpression(Expression, Operator, Expression) - Constructor for class org.jparsec.examples.java.ast.expression.BinaryExpression
- BinaryExpression(Expression, Op, Expression) - Constructor for class org.jparsec.examples.sql.ast.BinaryExpression
- BinaryRelationalExpression - Class in org.jparsec.examples.sql.ast
-
An expression like "expr in (select ...)".
- BinaryRelationalExpression(Expression, Op, Relation) - Constructor for class org.jparsec.examples.sql.ast.BinaryRelationalExpression
- BITWISE_AND - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- BITWISE_NOT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- BITWISE_OR - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- BITWISE_XOR - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- block - Variable in class org.jparsec.examples.java.ast.declaration.ClassInitializerDef
- block - Variable in class org.jparsec.examples.java.ast.statement.SynchronizedBlockStatement
- blockComment(String, String) - Static method in class org.jparsec.Scanners
-
A scanner for non-nested block comment that starts with
beginand ends withend. - blockComment(String, String, Pattern) - Static method in class org.jparsec.Scanners
-
A scanner for a non-nestable block comment that starts with
beginand ends withend. - blockComment(Parser, Parser, Parser) - Static method in class org.jparsec.Scanners
-
A scanner for a non-nestable block comment that starts with
beginand ends withend. - BlockStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a block.
- BlockStatement(List) - Constructor for class org.jparsec.examples.java.ast.statement.BlockStatement
- body - Variable in class org.jparsec.examples.java.ast.declaration.AnnotationDef
- body - Variable in class org.jparsec.examples.java.ast.declaration.ClassDef
- body - Variable in class org.jparsec.examples.java.ast.declaration.ConstructorDef
- body - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef.Value
- body - Variable in class org.jparsec.examples.java.ast.declaration.InterfaceDef
- body - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
- body - Variable in class org.jparsec.examples.java.ast.expression.LambdaExpression
- body - Variable in class org.jparsec.examples.java.ast.statement.TryStatement.CatchBlock
- BooleanLiteral - Class in org.jparsec.examples.java.ast.expression
-
"true" or "false".
- BooleanLiteral(boolean) - Constructor for class org.jparsec.examples.java.ast.expression.BooleanLiteral
- bound - Variable in class org.jparsec.examples.java.ast.declaration.TypeParameterDef
- bound - Variable in class org.jparsec.examples.java.ast.type.LowerBoundWildcard
- bound - Variable in class org.jparsec.examples.java.ast.type.UpperBoundWildcard
- BreakStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents "break" statement.
- BreakStatement(String) - Constructor for class org.jparsec.examples.java.ast.statement.BreakStatement
- build() - Method in class org.jparsec.Terminals.Builder
-
Builds a new
Terminalsinstance that recognizes words defined in this builder. - build(Parser) - Method in class org.jparsec.OperatorTable
-
Builds a
Parserbased on information in thisOperatorTable. - by - Variable in class org.jparsec.examples.sql.ast.GroupBy
- by - Variable in class org.jparsec.examples.sql.ast.OrderBy.Item
C
- 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
-
Deprecated.Use
operators(ops) .words(Scanners.IDENTIFIER) .caseInsensitiveKeywords(keywords) .build()instead. - caseInsensitive(Parser, String[], String[]) - Static method in class org.jparsec.Terminals
-
Deprecated.Use
operators(ops) .words(wordScanner) .caseInsensitiveKeywords(keywords) .build()instead. - caseInsensitive(Parser, String[], String[], Function) - Static method in class org.jparsec.Terminals
-
Deprecated.Use
operators(ops) .words(wordScanner) .tokenizeWordsWith(wordMap) .caseInsensitiveKeywords(keywords) .build()instead. - caseInsensitiveKeywords(String...) - Method in class org.jparsec.Terminals.Builder
-
Defines case insensitive keywords.
- caseInsensitiveKeywords(Collection) - 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
-
Deprecated.Use
operators(ops) .words(Scanners.IDENTIFIER) .keywords(keywords) .build()instead. - caseSensitive(Parser, String[], String[]) - Static method in class org.jparsec.Terminals
-
Deprecated.Use
operators(ops) .words(wordScanner) .keywords(keywords) .build()instead. - caseSensitive(Parser, String[], String[], Function) - Static method in class org.jparsec.Terminals
-
Deprecated.Use
operators(ops) .words(wordScanner) .tokenizeWordsWith(wordMap) .keywords(keywords) .build()instead. - cast() - Method in class org.jparsec.Parser
- 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
-
Provides common
CharPredicateimplementations. - 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, String, List, TypeLiteral, List, 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
-
Deprecated.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 "?
- 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
-
Deprecated.Use
from -> todirectly. - constant(T) - Static method in class org.jparsec.Parsers
-
A
Parserthat always returnsvregardless of input. - ConstructorDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a constructor definition.
- ConstructorDef(List, String, List, List, 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
fromtoto. - CrossJoinRelation - Class in org.jparsec.examples.sql.ast
-
Models cross join.
- CrossJoinRelation(Relation, Relation) - Constructor for class org.jparsec.examples.sql.ast.CrossJoinRelation
D
- d - Variable in class org.jparsec.functors.Tuple4
-
Deprecated.
- DEBUG - Enum constant in enum org.jparsec.Parser.Mode
-
Debug mode.
- DEC - Enum constant in enum org.jparsec.examples.java.ast.expression.IntegerLiteral.Radix
- DEC - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- DEC_INTEGER - Static variable in class org.jparsec.examples.java.parser.JavaScanners
-
Scanner for a decimal number. single character '0' is an integer literal
- DEC_INTEGER - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches a decimal integer, which starts with a non-zero digit and is followed by 0 or more digits. - DEC_INTEGER - Static variable in class org.jparsec.Scanners
-
Scanner for a decimal number. 0 is not allowed as the leading digit.
- DEC_INTEGER_PATTERN - Static variable in class org.jparsec.examples.java.parser.JavaScanners
-
A
Patternobject that matches a decimal integer, which is either '0' or starts with a non-zero digit and is followed by 0 or more digits. - DEC_TOKENIZER - Static variable in class org.jparsec.Terminals.LongLiteral
-
A tokenizer that parses a decimal integer number (valid patterns are:
1, 10, 123), and converts the string to aLongvalue. - DECIMAL - Enum constant in enum org.jparsec.Tokens.Tag
-
Decimal number literal
- DECIMAL - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches a decimal number that could start with a decimal point or a digit. - DECIMAL - Static variable in class org.jparsec.Scanners
-
Scanner for a decimal number.
- decimalLiteral(String) - Static method in class org.jparsec.Tokens
-
Returns a
Tokens.Fragmenttagged asTokens.Tag.DECIMAL. - DecimalPointNumberLiteral - Class in org.jparsec.examples.java.ast.expression
-
Represents a decimal point number.
- DecimalPointNumberLiteral(String, NumberType) - Constructor for class org.jparsec.examples.java.ast.expression.DecimalPointNumberLiteral
- declaration - Variable in class org.jparsec.examples.java.ast.declaration.NestedDef
- Declaration - Interface in org.jparsec.examples.java.ast.declaration
-
Represents interface, class, enum or annotation.
- DeclarationParser - Class in org.jparsec.examples.java.parser
-
Parses class, interface, enum, annotation declarations.
- DeclarationParser() - Constructor for class org.jparsec.examples.java.parser.DeclarationParser
- declarations - Variable in class org.jparsec.examples.java.ast.declaration.Program
- defaultCase - Variable in class org.jparsec.examples.java.ast.statement.SwitchStatement
- defaultValue - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
- defaultValue - Variable in class org.jparsec.examples.sql.ast.FullCaseExpression
- defaultValue - Variable in class org.jparsec.examples.sql.ast.SimpleCaseExpression
- DefBody - Class in org.jparsec.examples.java.ast.declaration
-
Represents the body of interface, class, or annotation.
- DefBody(List) - Constructor for class org.jparsec.examples.java.ast.declaration.DefBody
- definition - Variable in class org.jparsec.examples.bnf.ast.RuleDef
- distinct - Variable in class org.jparsec.examples.sql.ast.Select
- DIV - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- DIV - Enum constant in enum org.jparsec.examples.sql.ast.Op
- DOUBLE - Enum constant in enum org.jparsec.examples.java.ast.expression.NumberType
- DOUBLE_QUOTE_STRING - Static variable in class org.jparsec.Scanners
-
Scanner with a pattern for double quoted string literal.
- DOUBLE_QUOTE_TOKENIZER - Static variable in class org.jparsec.Terminals.StringLiteral
-
A tokenizer that parses double quoted string literal (escaped by
'\'), and transforms the quoted content by applying escape characters. - DoubleExpression - Class in org.jparsec.examples.statement.ast
- DoubleExpression(String, String) - Constructor for class org.jparsec.examples.statement.ast.DoubleExpression
- DoWhileStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the "do ... while ()" statement.
- DoWhileStatement(Statement, Expression) - Constructor for class org.jparsec.examples.java.ast.statement.DoWhileStatement
E
- e - Variable in class org.jparsec.functors.Tuple5
-
Deprecated.
- Element(String, Expression) - Constructor for class org.jparsec.examples.java.ast.statement.Annotation.Element
- elements - Variable in class org.jparsec.examples.java.ast.statement.Annotation
- elementType - Variable in class org.jparsec.examples.java.ast.expression.NewArrayExpression
- elementType - Variable in class org.jparsec.examples.java.ast.type.ArrayTypeLiteral
- elseifs - Variable in class org.jparsec.examples.java.ast.statement.IfStatement
- endBy(Parser) - Method in class org.jparsec.Parser
- endBy1(Parser) - Method in class org.jparsec.Parser
- EnumDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents an enum definition.
- EnumDef(List, String, List, List, List) - Constructor for class org.jparsec.examples.java.ast.declaration.EnumDef
- EnumDef.Value - Class in org.jparsec.examples.java.ast.declaration
-
Represents an enum value.
- EOF - Static variable in class org.jparsec.Parsers
-
Parserthat succeeds only if EOF is met. - EOF - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches if the input has no character left. - EQ - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- EQ - Enum constant in enum org.jparsec.examples.sql.ast.Op
- equals(Object) - Method in class org.jparsec.error.Location
-
Deprecated.
- equals(Object) - Method in class org.jparsec.examples.common.ValueObject
- equals(Object) - Method in class org.jparsec.functors.Pair
-
Deprecated.
- equals(Object) - Method in class org.jparsec.functors.Tuple3
-
Deprecated.
- equals(Object) - Method in class org.jparsec.functors.Tuple4
-
Deprecated.
- equals(Object) - Method in class org.jparsec.functors.Tuple5
-
Deprecated.
- equals(Object) - Method in class org.jparsec.Token
- equals(Object) - Method in class org.jparsec.Tokens.Fragment
- equals(Object) - Method in class org.jparsec.Tokens.ScientificNotation
- equals(Object) - Method in class org.jparsec.WithSource
- escape - Variable in class org.jparsec.examples.sql.ast.LikeExpression
- ESCAPED - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that succeeds with match length2if there are at least 2 characters in the input and the first character is'\'. - evaluate(String) - Static method in class org.jparsec.examples.calculator.Calculator
-
Parsers
sourceand evaluates to anInteger. - exceptions - Variable in class org.jparsec.examples.java.ast.declaration.ConstructorDef
- exceptions - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
- EXISTS - Enum constant in enum org.jparsec.examples.sql.ast.Op
- expect(String) - Static method in class org.jparsec.Parsers
-
A
Parserthat fails and reports thatnameis logically expected. - exponent - Variable in class org.jparsec.Tokens.ScientificNotation
-
The exponent after the "E".
- expression - Variable in class org.jparsec.examples.java.ast.expression.CastExpression
- expression - Variable in class org.jparsec.examples.java.ast.expression.InstanceOfExpression
- expression - Variable in class org.jparsec.examples.java.ast.expression.PostfixUnaryExpression
- expression - Variable in class org.jparsec.examples.java.ast.expression.PrefixUnaryExpression
- expression - Variable in class org.jparsec.examples.java.ast.statement.ExpressionStatement
- expression - Variable in class org.jparsec.examples.sql.ast.BetweenExpression
- expression - Variable in class org.jparsec.examples.sql.ast.BinaryRelationalExpression
- expression - Variable in class org.jparsec.examples.sql.ast.LikeExpression
- expression - Variable in class org.jparsec.examples.sql.ast.Projection
- expression(Parser, Parser) - Static method in class org.jparsec.examples.java.parser.ExpressionParser
- Expression - Interface in org.jparsec.examples.java.ast.expression
-
Represents any expression.
- Expression - Interface in org.jparsec.examples.sql.ast
-
Any expression
- Expression - Interface in org.jparsec.examples.statement.ast
- ExpressionListStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the comma delimited expression list used in the initializer of a "for" loop.
- ExpressionListStatement(List) - Constructor for class org.jparsec.examples.java.ast.statement.ExpressionListStatement
- ExpressionParser - Class in org.jparsec.examples.java.parser
-
Parses java expression.
- ExpressionParser - Class in org.jparsec.examples.sql.parser
-
Parser for expressions.
- ExpressionParser() - Constructor for class org.jparsec.examples.java.parser.ExpressionParser
- ExpressionParser() - Constructor for class org.jparsec.examples.sql.parser.ExpressionParser
- expressions - Variable in class org.jparsec.examples.java.ast.statement.ExpressionListStatement
- expressions - Variable in class org.jparsec.examples.sql.ast.TupleExpression
- ExpressionStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a method call statement.
- ExpressionStatement(Expression) - Constructor for class org.jparsec.examples.java.ast.statement.ExpressionStatement
F
- fail(String) - Static method in class org.jparsec.Parsers
-
A
Parserthat always fails withmessage. - fails() - Method in class org.jparsec.Parser
- FieldDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a field definition.
- FieldDef(List, TypeLiteral, String, Expression) - Constructor for class org.jparsec.examples.java.ast.declaration.FieldDef
- FINAL - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- finallyBlock - Variable in class org.jparsec.examples.java.ast.statement.TryStatement
- FLOAT - Enum constant in enum org.jparsec.examples.java.ast.expression.NumberType
- followedBy(Parser) - Method in class org.jparsec.Parser
- ForeachStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the enhanced for loop statement.
- ForeachStatement(TypeLiteral, String, Expression, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.ForeachStatement
- ForStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the traditional for loop.
- ForStatement(Statement, Expression, List, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.ForStatement
- FRACTION - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches a decimal point and one or more digits after it. - fragment(Object...) - Static method in class org.jparsec.Terminals
- fragment(String, Object) - Static method in class org.jparsec.Tokens
-
Returns a
Tokens.Fragmenttagged withtag. - Fragment(String, Object) - Constructor for class org.jparsec.Tokens.Fragment
-
Deprecated.Use
Tokens.fragment()instead. - from - Variable in class org.jparsec.examples.sql.ast.BetweenExpression
- from - Variable in class org.jparsec.examples.sql.ast.Select
- from(Parser, Parser) - Method in class org.jparsec.Parser
-
A
Parserthat takes as input the tokens returned bytokenizerdelimited bydelim, and runsthisto parse the tokens. - from(Parser) - Method in class org.jparsec.Parser
- FULL - Enum constant in enum org.jparsec.examples.sql.ast.JoinType
- FullCaseExpression - Class in org.jparsec.examples.sql.ast
-
The "
case when cond1 then val1 when cond2 then val2 else def end" expression. - FullCaseExpression(List, Expression) - Constructor for class org.jparsec.examples.sql.ast.FullCaseExpression
- FullExpression - Class in org.jparsec.examples.statement.ast
- FullExpression(IdentExpression, ValueExpression) - Constructor for class org.jparsec.examples.statement.ast.FullExpression
- function - Variable in class org.jparsec.examples.sql.ast.FunctionExpression
- FunctionExpression - Class in org.jparsec.examples.sql.ast
-
A function call.
- FunctionExpression(QualifiedName, List) - Constructor for class org.jparsec.examples.sql.ast.FunctionExpression
G
- GE - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- GE - Enum constant in enum org.jparsec.examples.sql.ast.Op
- getBeginIndex() - Method in class org.jparsec.ParseTree
-
Returns the index in source where this node starts.
- getChildren() - Method in class org.jparsec.ParseTree
-
Returns the immutable list of child nodes that correspond to
labeledparsers syntactically enclosed inside parent parser. - getColumn() - Method in exception class org.jparsec.error.ParserException
-
Returns the column where the error occurred.
- getColumn() - Method in class org.jparsec.SourceLocation
-
Returns the column number of this location.
- getEncountered() - Method in interface org.jparsec.error.ParseErrorDetails
-
Returns the physical input encountered when the error happened.
- getEndIndex() - Method in class org.jparsec.ParseTree
-
Returns the index in source where this node ends.
- getErrorDetails() - Method in exception class org.jparsec.error.ParserException
-
Returns the detailed description of the error, or
nullif none. - getExpected() - Method in interface org.jparsec.error.ParseErrorDetails
-
Returns all that are logically expected.
- getFailureMessage() - Method in interface org.jparsec.error.ParseErrorDetails
-
Returns the error message incurred by
Parsers.fail(String), ornullif none. - getIndex() - Method in interface org.jparsec.error.ParseErrorDetails
-
Returns the 0-based index in the source where the error happened.
- getIndex() - Method in class org.jparsec.SourceLocation
-
Returns the 0-based index within the source.
- getLine() - Method in exception class org.jparsec.error.ParserException
-
Returns the line where the error occurred.
- getLine() - Method in class org.jparsec.SourceLocation
-
Returns the line number of this location.
- getLocation() - Method in exception class org.jparsec.error.ParserException
-
Deprecated.Use
ParserException.getLine()andParserException.getColumn()instead. - getModuleName() - Method in exception class org.jparsec.error.ParserException
-
Deprecated.
- getName() - Method in class org.jparsec.ParseTree
-
Returns the node name, which is specified in
Parser.label(String). - getParseTree() - Method in exception class org.jparsec.error.ParserException
-
Returns the parse tree until the parse error happened, when
parseTree()was invoked. - getSource() - Method in class org.jparsec.WithSource
-
Returns the underlying source text.
- getUnexpected() - Method in interface org.jparsec.error.ParseErrorDetails
-
Returns what is logically unexpected, or
nullif none. - getValue() - Method in class org.jparsec.ParseTree
-
Returns the parsed value of this node, or
nullif it's a failed node. - getValue() - Method in class org.jparsec.WithSource
-
Returns the parsed result.
- groupBy - Variable in class org.jparsec.examples.sql.ast.Select
- GroupBy - Class in org.jparsec.examples.sql.ast
-
"group by" clause.
- GroupBy(List, Expression) - Constructor for class org.jparsec.examples.sql.ast.GroupBy
- GT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- GT - Enum constant in enum org.jparsec.examples.sql.ast.Op
H
- hasAtLeast(int) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the input has at leastncharacters left. - hasExact(int) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the input has exactlyncharacters left. - hashCode() - Method in class org.jparsec.error.Location
-
Deprecated.
- hashCode() - Method in class org.jparsec.examples.common.ValueObject
- hashCode() - Method in class org.jparsec.functors.Pair
-
Deprecated.
- hashCode() - Method in class org.jparsec.functors.Tuple3
-
Deprecated.
- hashCode() - Method in class org.jparsec.functors.Tuple4
-
Deprecated.
- hashCode() - Method in class org.jparsec.functors.Tuple5
-
Deprecated.
- hashCode() - Method in class org.jparsec.Token
- hashCode() - Method in class org.jparsec.Tokens.Fragment
- hashCode() - Method in class org.jparsec.Tokens.ScientificNotation
- hashCode() - Method in class org.jparsec.WithSource
- HASKELL_BLOCK_COMMENT - Static variable in class org.jparsec.Scanners
-
Scanner for haskell style block comment. {- -}
- HASKELL_DELIMITER - Static variable in class org.jparsec.Scanners
-
Scanner for the haskell style delimiter of tokens.
- HASKELL_LINE_COMMENT - Static variable in class org.jparsec.Scanners
-
Scanner for haskell style line comment
- having - Variable in class org.jparsec.examples.sql.ast.GroupBy
- HEX - Enum constant in enum org.jparsec.examples.java.ast.expression.IntegerLiteral.Radix
- HEX_INTEGER - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches a hex integer, which starts with a0xor0X, and is followed by one or more hex digits. - HEX_INTEGER - Static variable in class org.jparsec.Scanners
-
Scanner for a hexadecimal number.
- HEX_TOKENIZER - Static variable in class org.jparsec.Terminals.LongLiteral
-
A tokenizer that parses a hex integer number (valid patterns are:
0x1, 0Xff, 0xFe1etc.), and converts the string to aLongvalue.
I
- identExpr - Variable in class org.jparsec.examples.statement.ast.FullExpression
- IdentExpression - Class in org.jparsec.examples.statement.ast
- IdentExpression(String) - Constructor for class org.jparsec.examples.statement.ast.IdentExpression
- identifier() - Static method in class org.jparsec.Terminals
-
Returns a
Parserthat recognizes identifiers (a.k.a words, variable names etc). - identifier(String) - Static method in class org.jparsec.Tokens
-
Returns a
Tokens.Fragmenttagged asTokens.Tag.IDENTIFIER. - 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 - Enum constant in enum org.jparsec.Tokens.Tag
-
Regular 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.
- identity() - Static method in class org.jparsec.functors.Maps
-
Deprecated.Use
Function.identity()instead. - ifelse(Function, Parser) - Method in class org.jparsec.Parser
- ifelse(Parser, Parser) - Method in class org.jparsec.Parser
- ifelse(Pattern, Pattern) - Method in class org.jparsec.pattern.Pattern
-
Returns
Patternobject that, if this pattern matches, matches the remaining input againstconsequencepattern, or otherwise matches againstalternativepattern. - IfStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents an "if" statement.
- IfStatement(Expression, Statement, List, 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 - Enum constant in enum org.jparsec.examples.sql.ast.Op
- INC - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- incrementer - Variable in class org.jparsec.examples.java.ast.statement.ForStatement
- indent() - Method in class org.jparsec.Indentation
-
A
Parserthat recognizes the generatedindenttoken. - Indentation - Class in org.jparsec
-
Processes indentation based lexical structure according to the Off-side rule.
- Indentation() - Constructor for class org.jparsec.Indentation
-
Creates a
Indentationobject that generates default indent and outdent tokens. - Indentation(Object, Object) - Constructor for class org.jparsec.Indentation
-
Creates an
Indentationobject that usesindentandoutdentas the token values for indentation and outdentation. - index - Variable in class org.jparsec.examples.java.ast.expression.ArraySubscriptExpression
- index() - Method in class org.jparsec.Token
-
Returns the index of the token in the original source.
- INDEX - Static variable in class org.jparsec.Parsers
-
Deprecated.Use
Parsers.SOURCE_LOCATIONinstead. - infixl(Parser) - Method in class org.jparsec.Parser
-
A
Parserfor left-associative infix operator. - infixl(Parser, int) - Method in class org.jparsec.OperatorTable
-
Adds an infix left-associative binary operator.
- infixn(Parser) - Method in class org.jparsec.Parser
-
A
Parserthat parses non-associative infix operator. - infixn(Parser, int) - Method in class org.jparsec.OperatorTable
-
Adds an infix non-associative binary operator.
- infixr(Parser) - Method in class org.jparsec.Parser
-
A
Parserfor right-associative infix operator. - infixr(Parser, int) - Method in class org.jparsec.OperatorTable
-
Adds an infix right-associative binary operator.
- initializer - Variable in class org.jparsec.examples.java.ast.expression.NewArrayExpression
- initializer - Variable in class org.jparsec.examples.java.ast.statement.ForStatement
- INNER - Enum constant in enum org.jparsec.examples.sql.ast.JoinType
- 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
- INT - Enum constant in enum org.jparsec.examples.java.ast.expression.NumberType
- INTEGER - Enum constant in enum org.jparsec.Tokens.Tag
-
Integral number literal
- INTEGER - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches an integer. - INTEGER - Static variable in class org.jparsec.Scanners
-
Scanner for an integer.
- integerLiteral(String) - Static method in class org.jparsec.Tokens
-
Returns a
Tokens.Fragmenttagged asTokens.Tag.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.Radix - Enum in org.jparsec.examples.java.ast.expression
- InterfaceDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents an interface definition.
- InterfaceDef(List, String, List, List, 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
- IoUtils - Class in org.jparsec.examples.common
-
Common utilities for working with io.
- IoUtils() - Constructor for class org.jparsec.examples.common.IoUtils
- IS - Enum constant in enum org.jparsec.examples.sql.ast.Op
- IS_ALPHA - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is an alpha character. - IS_ALPHA_ - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if it is an alpha character or the underscore character_. - IS_ALPHA_NUMERIC - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if it is an alphanumeric character, or an underscore character. - IS_ALPHA_NUMERIC_ - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if it is an alphanumeric character, or an underscore character. - IS_DIGIT - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is a digit. - IS_HEX_DIGIT - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat 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
-
A
CharPredicatethat returns true ifCharacter.isLetter(char)returns true. - IS_LOWER_CASE - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true ifCharacter.isLowerCase(char)returns true. - IS_UPPER_CASE - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true ifCharacter.isUpperCase(char)returns true. - IS_WHITESPACE - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true ifCharacter.isWhitespace(char)returns true. - isChar(char) - Method in interface org.jparsec.pattern.CharPredicate
-
Tests whether
csatisfies the predicate. - isChar(char) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is equal toc. - isChar(char) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the current character in the input is equal to characterc, in which case1is returned as match length. - isChar(char) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes the current character if it is equal to
ch. - isChar(char, String) - Static method in class org.jparsec.Scanners
-
Deprecated.Use
Scanners.isChar(char)instead or usePatterns.isChar(ch).toScanner(name). - isChar(CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the current character in the input satisfiespredicate, in which case1is 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
-
Deprecated.Implement
Object.toString()in theCharPredicate, or usePatterns.isChar(predicate).toScanner(name). - 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
J
- JAVA_BLOCK_COMMENT - Static variable in class org.jparsec.Scanners
-
Scanner for c++/java style block comment.
- JAVA_DELIMITER - Static variable in class org.jparsec.Scanners
-
Scanner for the c++/java style delimiter of tokens.
- JAVA_LINE_COMMENT - Static variable in class org.jparsec.Scanners
-
Scanner for c++/java style line comment.
- JavaLexer - Class in org.jparsec.examples.java.parser
-
Lexer specific for the Java language rules.
- JavaLexer() - Constructor for class org.jparsec.examples.java.parser.JavaLexer
- JavaScanners - Class in org.jparsec.examples.java.parser
- join(StringBuilder, String, Iterable) - Static method in class org.jparsec.examples.common.Strings
-
Joins
objectswithdelimas the delimiter. - join(StringBuilder, String, Object...) - Static method in class org.jparsec.examples.common.Strings
-
Joins
objectswithdelimas the delimiter. - join(String, Iterable) - Static method in class org.jparsec.examples.common.Strings
-
Joins
objectswithdelimas the delimiter. - join(String, Object...) - Static method in class org.jparsec.examples.common.Strings
-
Joins
objectswithdelimas the delimiter. - JoinRelation - Class in org.jparsec.examples.sql.ast
-
Models a join.
- JoinRelation(Relation, JoinType, Relation, Expression) - Constructor for class org.jparsec.examples.sql.ast.JoinRelation
- joinType - Variable in class org.jparsec.examples.sql.ast.JoinRelation
- JoinType - Enum in org.jparsec.examples.sql.ast
-
The type of a join.
K
- keywords(String...) - Method in class org.jparsec.Terminals.Builder
-
Defines keywords.
- keywords(Collection) - Method in class org.jparsec.Terminals.Builder
-
Defines keywords.
L
- label - Variable in class org.jparsec.examples.java.ast.statement.BreakStatement
- label - Variable in class org.jparsec.examples.java.ast.statement.ContinueStatement
- label(String) - Method in class org.jparsec.Parser
- LabelStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a label statement such as "foo:".
- LabelStatement(String, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.LabelStatement
- LambdaExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents lambda expressions.
- LambdaExpression(List, Statement) - Constructor for class org.jparsec.examples.java.ast.expression.LambdaExpression
- LambdaExpression.Parameter - Class in org.jparsec.examples.java.ast.expression
- lazy() - Method in class org.jparsec.Parser.Reference
-
A
Parserthat delegates to the parser object referenced bythisduring parsing time. - LE - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- LE - Enum constant in enum org.jparsec.examples.sql.ast.Op
- left - Variable in class org.jparsec.examples.java.ast.expression.BinaryExpression
- left - Variable in class org.jparsec.examples.sql.ast.BinaryExpression
- left - Variable in class org.jparsec.examples.sql.ast.CrossJoinRelation
- left - Variable in class org.jparsec.examples.sql.ast.JoinRelation
- left - Variable in class org.jparsec.examples.sql.ast.UnionRelation
- LEFT - Enum constant in enum org.jparsec.examples.sql.ast.JoinType
- length - Variable in class org.jparsec.examples.java.ast.expression.NewArrayExpression
- length() - Method in class org.jparsec.Token
-
Returns the length of the token.
- lexer(Parser) - Method in class org.jparsec.Parser
-
A
Parserthat greedily runsthisrepeatedly, and ignores the pattern recognized bydelimbefore and after each occurrence. - lexer(Parser, Parser) - Method in class org.jparsec.Indentation
-
A
Parserthat greedily runstokenizer, and translates line feed characters ('\n') toindentandoutdenttokens. - like - Variable in class org.jparsec.examples.sql.ast.LikeExpression
- LikeExpression - Class in org.jparsec.examples.sql.ast
-
Represents "expr like 'pattern' escape 'escape'" expression.
- LikeExpression(Expression, boolean, Expression, Expression) - Constructor for class org.jparsec.examples.sql.ast.LikeExpression
- line - Variable in class org.jparsec.error.Location
-
Deprecated.1-based line number.
- lineComment(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches a line comment started bybeginand ended byEOForLF(the line feed character). - lineComment(String) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes all the characters until the
'\n'character if the current input starts with the string literalbegin. - list(Iterable) - Static method in class org.jparsec.Parsers
- literal - Variable in class org.jparsec.examples.bnf.ast.LiteralRule
- LiteralRule - Class in org.jparsec.examples.bnf.ast
-
Represents a literal rule.
- LiteralRule(String) - Constructor for class org.jparsec.examples.bnf.ast.LiteralRule
- Location - Class in org.jparsec.error
-
Deprecated.Prefer to use
SourceLocationinstead. - Location(int, int) - Constructor for class org.jparsec.error.Location
-
Deprecated.Creates a
Locationinstance. - LONG - Enum constant in enum org.jparsec.examples.java.ast.expression.NumberType
- longer(Parser, Parser) - Static method in class org.jparsec.Parsers
- longer(Pattern, Pattern) - Static method in class org.jparsec.pattern.Patterns
- longest(Iterable) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs every element ofparsersand selects the longest match. - longest(Parser...) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs every element ofparsersand selects the longest match. - longest(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat tries all ofpatterns, and picks the one with the longest match length. - LowerBoundWildcard - Class in org.jparsec.examples.java.ast.type
-
Represents "?
- LowerBoundWildcard(TypeLiteral) - Constructor for class org.jparsec.examples.java.ast.type.LowerBoundWildcard
- LSHIFT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- LT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- LT - Enum constant in enum org.jparsec.examples.sql.ast.Op
M
- many() - Method in class org.jparsec.Parser
-
p.many()is equivalent top*in EBNF. - many() - Method in class org.jparsec.pattern.Pattern
-
Returns a
Patternobject that matches this pattern for 0 or more times. - many(int) - Method in class org.jparsec.pattern.Pattern
-
Deprecated.Use
Pattern.atLeast(int)instead. - many(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Deprecated.Use
Patterns.atLeast(int, CharPredicate)instead. - many(CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat matches 0 or more characters satisfyingpredicate. - 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
-
Deprecated.Use
pattern.many().toScanner(name). - many1() - Method in class org.jparsec.Parser
-
p.many1()is equivalent top+in EBNF. - many1() - Method in class org.jparsec.pattern.Pattern
-
Returns a
Patternobject that matches this pattern for 1 or more times. - many1(CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat matches 1 or more characters satisfyingpredicate. - 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
-
Deprecated.Use
pattern.many1().toScanner(name). - map(A, B) - Method in interface org.jparsec.functors.Map2
-
Deprecated.Maps
aandbto the target object. - map(A, B, C) - Method in interface org.jparsec.functors.Map3
-
Maps
a,bandcto the target object. - map(A, B, C, D) - Method in interface org.jparsec.functors.Map4
-
Maps
a,b,canddto the target object. - map(A, B, C, D, E) - Method in interface org.jparsec.functors.Map5
-
Maps
a,b,c,dandeto 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(From) - Method in interface org.jparsec.functors.Map
-
Deprecated.Maps
fromto the target object. - map(Function) - Method in class org.jparsec.Parser
- map(Map) - Static method in class org.jparsec.functors.Maps
-
Deprecated.Use
Map::getinstead. - map(Token) - Method in interface org.jparsec.TokenMap
-
Transforms
tokento an instance ofT. - Map<From,
To> - Interface in org.jparsec.functors -
Deprecated.Use
Functioninstead. - Map2<A,
B, - Interface in org.jparsec.functorsT> -
Deprecated.Use
BiFunctioninstead. - Map3<A,
B, - Interface in org.jparsec.functorsC, T> -
Maps 3 objects of type
A,BandCrespectively to an object of typeT. - Map4<A,
B, - Interface in org.jparsec.functorsC, D, T> -
Maps 4 objects of type
A,B,CandDrespectively to an object of typeT. - Map5<A,
B, - Interface in org.jparsec.functorsC, D, E, T> -
Maps 5 objects of type
A,B,C,DandErespectively to an object of typeT. - Map6<A,
B, - Interface in org.jparsec.functorsC, D, E, F, T> -
Maps 6 objects to an object of type
T. - Map7<A,
B, - Interface in org.jparsec.functorsC, D, E, F, G, T> -
Maps 7 objects to an object of type
T. - Map8<A,
B, - Interface in org.jparsec.functorsC, D, E, F, G, H, T> -
Maps 8 objects to an object of type
T. - Maps - Class in org.jparsec.functors
-
Provides common implementations of
Mapinterface and the variants. - mapToString() - Static method in class org.jparsec.functors.Maps
-
Deprecated.Use
String::valueOfdirectly. - 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, String, List) - 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, List, TypeLiteral, String, List, List, 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, String) - Constructor for class org.jparsec.examples.java.ast.expression.MethodReference
- MINUS - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- MINUS - Enum constant in enum org.jparsec.examples.sql.ast.Op
- MISMATCH - Static variable in class org.jparsec.pattern.Pattern
-
Returned by
Pattern.match(CharSequence, int, int)method when match fails. - MOD - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- MOD - Enum constant in enum org.jparsec.examples.sql.ast.Op
- 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
- MUL - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- MUL - Enum constant in enum org.jparsec.examples.sql.ast.Op
N
- name - Variable in class org.jparsec.examples.bnf.ast.RuleDef
- name - Variable in class org.jparsec.examples.bnf.ast.RuleReference
- name - Variable in class org.jparsec.examples.java.ast.declaration.AnnotationDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.ClassDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.ConstructorDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.EnumDef.Value
- name - Variable in class org.jparsec.examples.java.ast.declaration.FieldDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.InterfaceDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
- name - Variable in class org.jparsec.examples.java.ast.declaration.TypeParameterDef
- name - Variable in class org.jparsec.examples.java.ast.expression.Identifier
- name - Variable in class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
- name - Variable in class org.jparsec.examples.java.ast.expression.MethodReference
- name - Variable in class org.jparsec.examples.java.ast.expression.QualifiedExpression
- name - Variable in class org.jparsec.examples.java.ast.statement.Annotation.Element
- name - Variable in class org.jparsec.examples.java.ast.statement.LabelStatement
- name - Variable in class org.jparsec.examples.java.ast.statement.ParameterDef
- name - Variable in class org.jparsec.examples.java.ast.statement.VarStatement.Var
- names - Variable in class org.jparsec.examples.java.ast.declaration.QualifiedName
- names - Variable in class org.jparsec.examples.java.ast.type.SimpleTypeLiteral
- names - Variable in class org.jparsec.examples.sql.ast.QualifiedName
- NATIVE - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- NE - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- NE - Enum constant in enum org.jparsec.examples.sql.ast.Op
- NEG - Enum constant in enum org.jparsec.examples.sql.ast.Op
- NEGATIVE - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- nestableBlockComment(String, String) - Static method in class org.jparsec.Scanners
-
A scanner for a nestable block comment that starts with
beginand ends withend. - nestableBlockComment(String, String, Pattern) - Static method in class org.jparsec.Scanners
-
A scanner for a nestable block comment that starts with
beginand ends withend. - nestableBlockComment(Parser, Parser, Parser) - Static method in class org.jparsec.Scanners
-
A scanner for a nestable block comment that starts with
beginand ends withend. - NestedDef - Class in org.jparsec.examples.java.ast.declaration
-
Represents a nested declaration.
- NestedDef(Declaration) - Constructor for class org.jparsec.examples.java.ast.declaration.NestedDef
- nestedScanner(Parser, Parser) - Static method in class org.jparsec.Scanners
-
A scanner that after character level
outersucceeds, subsequently feeds the recognized characters toinnerfor a nested scanning. - never() - Static method in class org.jparsec.Parsers
-
Parserthat always fails. - NEVER - Static variable in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat always returns false. - NEVER - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternthat always returnsPattern.MISMATCH. - NewArrayExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents a "new Foo[] {...}" or "new Foo[size] {...}" expression.
- NewArrayExpression(TypeLiteral, Expression, List) - Constructor for class org.jparsec.examples.java.ast.expression.NewArrayExpression
- NewExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents a non-qualified "new" statement with possibly anonymous class syntax.
- NewExpression(Expression, TypeLiteral, List, DefBody) - Constructor for class org.jparsec.examples.java.ast.expression.NewExpression
- newReference() - Static method in class org.jparsec.Parser
-
Creates a new instance of
Parser.Reference. - next(Function) - Method in class org.jparsec.Parser
-
A
Parserthat executesthis, maps the result usingmapto anotherParserobject to be executed as the next step. - next(Parser) - Method in class org.jparsec.Parser
- next(Pattern) - Method in class org.jparsec.pattern.Pattern
- NopStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the no-op statement ";".
- not() - Method in class org.jparsec.Parser
-
A
Parserthat fails ifthissucceeds. - not() - Method in class org.jparsec.pattern.Pattern
-
Returns a
Patternobject that only matches if this pattern mismatches, 0 is returned otherwise. - not(String) - Method in class org.jparsec.Parser
-
A
Parserthat fails ifthissucceeds. - not(CharPredicate) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true ifpredicateevaluates to false. - not(Pattern) - Static method in class org.jparsec.pattern.Patterns
- NOT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- NOT - Enum constant in enum org.jparsec.examples.sql.ast.Op
- NOT_EXISTS - Enum constant in enum org.jparsec.examples.sql.ast.Op
- NOT_IN - Enum constant in enum org.jparsec.examples.sql.ast.Op
- notAmong(String) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is not equal to any character inchars. - notAmong(String) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes the current character if it is not equal to any character in
chars. - notAmong(String, String) - Static method in class org.jparsec.Scanners
-
Deprecated.Use
Patterns.among(chars).not().toScanner(name), orisChar(CharPredicates.notAmong(chars), name). - notChar(char) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is not equal toc. - notChar(char) - Static method in class org.jparsec.Scanners
-
A scanner that succeeds and consumes the current character if it is not equal to
ch. - notChar(char, String) - Static method in class org.jparsec.Scanners
-
Deprecated.
- notFollowedBy(Parser) - Method in class org.jparsec.Parser
- notRange(char, char) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is not within the range of[a, b]. - notString(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the input has at least 1 character and doesn't matchstring. - notStringCaseInsensitive(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the input has at least 1 character and doesn't matchstringcase insensitively. - NullExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents "null".
- NullExpression - Class in org.jparsec.examples.sql.ast
-
Represents "null".
- number - Variable in class org.jparsec.examples.java.ast.expression.DecimalPointNumberLiteral
- number - Variable in class org.jparsec.examples.java.ast.expression.IntegerLiteral
- number - Variable in class org.jparsec.examples.java.ast.expression.ScientificNumberLiteral
- number - Variable in class org.jparsec.examples.sql.ast.NumberExpression
- NumberExpression - Class in org.jparsec.examples.sql.ast
-
A number expression.
- NumberExpression(String) - Constructor for class org.jparsec.examples.sql.ast.NumberExpression
- NumberType - Enum in org.jparsec.examples.java.ast.expression
-
Distinguishes between "L", "F", "D" and int.
- nVal - Variable in class org.jparsec.examples.statement.ast.ValueExpression
O
- ObjectTester - Class in org.jparsec.util
- ObjectTester() - Constructor for class org.jparsec.util.ObjectTester
- OCT - Enum constant in enum org.jparsec.examples.java.ast.expression.IntegerLiteral.Radix
- OCT_INTEGER - Static variable in class org.jparsec.examples.java.parser.JavaScanners
-
Scanner for a octal number. 0 is the leading digit.
- OCT_INTEGER - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches an octal integer that starts with a0and is followed by 0 or more[0 - 7]characters. - OCT_INTEGER - Static variable in class org.jparsec.Scanners
-
Scanner for a octal number. 0 is the leading digit.
- OCT_INTEGER_PATTERN - Static variable in class org.jparsec.examples.java.parser.JavaScanners
-
A
Patternobject that matches an octal integer that starts with a0and is followed by 1 or more[0 - 7]characters. - OCT_TOKENIZER - Static variable in class org.jparsec.Terminals.LongLiteral
-
A tokenizer that parses a octal integer number (valid patterns are:
0, 07, 017, 0371etc.), and converts the string to aLongvalue. - of - Variable in class org.jparsec.examples.java.ast.statement.ForeachStatement
- of(String...) - Static method in class org.jparsec.examples.sql.ast.QualifiedName
- of(String...) - Static method in class org.jparsec.examples.sql.ast.QualifiedNameExpression
- of(Expression...) - Static method in class org.jparsec.examples.sql.ast.TupleExpression
- of(QualifiedName, Expression...) - Static method in class org.jparsec.examples.sql.ast.FunctionExpression
- op - Variable in class org.jparsec.examples.java.ast.expression.BinaryExpression
- op - Variable in class org.jparsec.examples.java.ast.expression.PostfixUnaryExpression
- op - Variable in class org.jparsec.examples.java.ast.expression.PrefixUnaryExpression
- Op - Enum in org.jparsec.examples.sql.ast
-
Operators
- operand - Variable in class org.jparsec.examples.sql.ast.UnaryExpression
- operator - Variable in class org.jparsec.examples.sql.ast.BinaryExpression
- operator - Variable in class org.jparsec.examples.sql.ast.BinaryRelationalExpression
- operator - Variable in class org.jparsec.examples.sql.ast.UnaryExpression
- operator - Variable in class org.jparsec.examples.sql.ast.UnaryRelationalExpression
- Operator - Enum in org.jparsec.examples.java.ast.expression
-
Defines operators used in Java.
- operators(String...) - Static method in class org.jparsec.Terminals
-
Returns a
Terminalsobject for lexing the operators with names specified inops. - operators(Collection) - Static method in class org.jparsec.Terminals
-
Returns a
Terminalsobject for lexing the operators with names specified inops. - OperatorTable<T> - Class in org.jparsec
-
Builds
Parserto parse expressions with operator-precedence grammar. - OperatorTable() - Constructor for class org.jparsec.OperatorTable
- optional() - Method in class org.jparsec.Parser
-
Deprecated.since 3.0. Use} or
invalid @link
{@link #optional(null)Parser.asOptional()instead. - optional() - Method in class org.jparsec.pattern.Pattern
-
Returns a
Patternobject that matches with 0 length even ifthismismatches. - optional(T) - Method in class org.jparsec.Parser
- OPTIONAL - Enum constant in enum org.jparsec.examples.bnf.ast.Quantifier
- or(Iterable) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries each alternative parser inalternatives. - or(Parser) - Method in class org.jparsec.Parser
-
p1.or(p2)is equivalent top1 | p2in EBNF. - or(Parser...) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries each alternative parser inalternatives. - or(Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 2 alternative parser objects. - or(Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 3 alternative parser objects. - or(Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 4 alternative parser objects. - or(Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 5 alternative parser objects. - or(Parser, Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 6 alternative parser objects. - or(Parser, Parser, Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 7 alternative parser objects. - or(Parser, Parser, Parser, Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 8 alternative parser objects. - or(Parser, Parser, Parser, Parser, Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat tries 9 alternative parser objects. - or(CharPredicate...) - Static method in class org.jparsec.pattern.CharPredicates
- or(CharPredicate, CharPredicate) - Static method in class org.jparsec.pattern.CharPredicates
- or(Pattern) - Method in class org.jparsec.pattern.Pattern
- or(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat matches if any ofpatternsmatches, in which case, the first match length is returned. - OR - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- OR - Enum constant in enum org.jparsec.examples.sql.ast.Op
- orderBy - Variable in class org.jparsec.examples.sql.ast.Select
- OrderBy - Class in org.jparsec.examples.sql.ast
-
The "order by" clause.
- OrderBy(List) - Constructor for class org.jparsec.examples.sql.ast.OrderBy
- OrderBy.Item - Class in org.jparsec.examples.sql.ast
- org.jparsec - package org.jparsec
-
Provides core Parser implementations for parser combinator logic.
- org.jparsec.error - package org.jparsec.error
-
Provides interfaces and classes for advanced error handling.
- org.jparsec.examples.bnf.ast - package org.jparsec.examples.bnf.ast
- org.jparsec.examples.bnf.parser - package org.jparsec.examples.bnf.parser
- org.jparsec.examples.calculator - package org.jparsec.examples.calculator
- org.jparsec.examples.common - package org.jparsec.examples.common
- org.jparsec.examples.java.ast.declaration - package org.jparsec.examples.java.ast.declaration
- org.jparsec.examples.java.ast.expression - package org.jparsec.examples.java.ast.expression
- org.jparsec.examples.java.ast.statement - package org.jparsec.examples.java.ast.statement
- org.jparsec.examples.java.ast.type - package org.jparsec.examples.java.ast.type
- org.jparsec.examples.java.parser - package org.jparsec.examples.java.parser
- org.jparsec.examples.sql.ast - package org.jparsec.examples.sql.ast
- org.jparsec.examples.sql.parser - package org.jparsec.examples.sql.parser
- org.jparsec.examples.statement.ast - package org.jparsec.examples.statement.ast
- org.jparsec.functors - package org.jparsec.functors
-
Provides common functor interfaces, such as Map for mapping parser results as well as some common implementations.
- org.jparsec.pattern - package org.jparsec.pattern
-
Provides Pattern implementations for use by character level scanners.
- org.jparsec.util - package org.jparsec.util
- otherwise - Variable in class org.jparsec.examples.java.ast.statement.IfStatement
- otherwise(Parser) - Method in class org.jparsec.Parser
-
a.otherwise(fallback)runsfallbackwhenamatches zero input. - outdent() - Method in class org.jparsec.Indentation
-
A
Parserthat recognizes the generatedoutdenttoken. - owner - Variable in class org.jparsec.examples.java.ast.expression.ConstructorReference
- owner - Variable in class org.jparsec.examples.java.ast.expression.MethodReference
- owner - Variable in class org.jparsec.examples.sql.ast.WildcardExpression
P
- packageName - Variable in class org.jparsec.examples.java.ast.declaration.Program
- Package Specification - Section in package org.jparsec
- Package Specification - Section in package org.jparsec.error
- Package Specification - Section in package org.jparsec.functors
- Package Specification - Section in package org.jparsec.pattern
- pair(A, B) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.Returns a
Pairof 2 objects. - pair(Parser, Parser) - Static method in class org.jparsec.Parsers
-
Deprecated.Prefer to converting to your own object with a lambda.
- Pair<A,
B> - Class in org.jparsec.functors -
Deprecated.Prefer to using a lambda expression to convert to your own type.
- Pair(A, B) - Constructor for class org.jparsec.functors.Pair
-
Deprecated.
- parameter - Variable in class org.jparsec.examples.java.ast.statement.TryStatement.CatchBlock
- Parameter(String) - Constructor for class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
- Parameter(TypeLiteral, String) - Constructor for class org.jparsec.examples.java.ast.expression.LambdaExpression.Parameter
- ParameterDef - Class in org.jparsec.examples.java.ast.statement
-
Represents a parameter definition.
- ParameterDef(List, 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(CharSequence) - Method in class org.jparsec.Parser
-
Parses
source. - parse(CharSequence, String) - Method in class org.jparsec.Parser
-
Deprecated.Please use
Parser.parse(CharSequence)instead. - parse(CharSequence, Parser.Mode) - Method in class org.jparsec.Parser
-
Parses
sourceunder the givenmode. - parse(Readable) - Method in class org.jparsec.Parser
-
Parses source read from
readable. - parse(Readable, String) - Method in class org.jparsec.Parser
-
Deprecated.Please use
Parser.parse(Readable)instead. - 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. - 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
-
Parserthat recognizes identifier tokens. i.e. - 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
-
Parserthat recogniesTokens.ScientificNotationtokens. - 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
Parserused in recursive grammars. - ParserException - Exception Class in org.jparsec.error
-
Is thrown when any grammar error happens or any exception is thrown during parsing.
- ParserException(Throwable, ParseErrorDetails, String, Location) - Constructor for exception class org.jparsec.error.ParserException
-
Deprecated.
- ParserException(ParseErrorDetails, String, Location) - Constructor for exception class org.jparsec.error.ParserException
-
Deprecated.
- ParserException(ParseErrorDetails, Location) - Constructor for exception class org.jparsec.error.ParserException
-
Creates a
ParserExceptionobject. - Parsers - Class in org.jparsec
-
Provides common
Parserimplementations. - parseTree(CharSequence) - Method in class org.jparsec.Parser
-
Parses
sourceand returns aParseTreecorresponding 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(Pattern, String) - Static method in class org.jparsec.Scanners
-
Deprecated.Use
pattern.toScanner(name). - Pattern - Class in org.jparsec.pattern
-
Encapsulates algorithm to recognize certain string pattern.
- Pattern() - Constructor for class org.jparsec.pattern.Pattern
- Patterns - Class in org.jparsec.pattern
-
Provides common
Patternimplementations. - peek() - Method in class org.jparsec.Parser
-
A
Parserthat runsthisand undoes any input consumption if succeeds. - peek() - Method in class org.jparsec.pattern.Pattern
-
Returns
Patternobject that matches with match length 0 if this Pattern object matches. - phrase(String) - Static method in class org.jparsec.examples.java.parser.TerminalParser
- phrase(String...) - Method in class org.jparsec.Terminals
-
A
Parserthat recognizes a sequence of tokens identified bytokenNames, as an atomic step. - PLUS - Enum constant in enum org.jparsec.examples.bnf.ast.Quantifier
- PLUS - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- PLUS - Enum constant in enum org.jparsec.examples.sql.ast.Op
- POSITIVE - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- POST_DEC - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- POST_INC - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- postfix(Parser) - Method in class org.jparsec.Parser
- postfix(Parser, int) - Method in class org.jparsec.OperatorTable
-
Adds a postfix unary operator.
- 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) - Method in class org.jparsec.Parser
- prefix(Parser, int) - Method in class org.jparsec.OperatorTable
-
Adds a prefix unary operator.
- 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
delimbefore each object ofobjects. - PRIVATE - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- PRODUCTION - Enum constant in enum org.jparsec.Parser.Mode
-
Default mode.
- program() - Static method in class org.jparsec.examples.java.parser.DeclarationParser
- Program - Class in org.jparsec.examples.java.ast.declaration
-
Represents a single java source file.
- Program(QualifiedName, List, List) - Constructor for class org.jparsec.examples.java.ast.declaration.Program
- 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
- PROTECTED - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- PUBLIC - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
Q
- qname - Variable in class org.jparsec.examples.java.ast.declaration.Import
- qname - Variable in class org.jparsec.examples.sql.ast.QualifiedNameExpression
- QualifiedExpression - Class in org.jparsec.examples.java.ast.expression
-
Represents "obj.field", "SomeType.staticField", "SomeType.SomeNestedType" or "org.codehaus.jparsec" kind of qualified expressions.
- QualifiedExpression(Expression, String) - Constructor for class org.jparsec.examples.java.ast.expression.QualifiedExpression
- QualifiedName - Class in org.jparsec.examples.java.ast.declaration
-
Represents a qualified name in import or package statement.
- QualifiedName - Class in org.jparsec.examples.sql.ast
-
A qualified name like "a.b.c".
- QualifiedName(List) - Constructor for class org.jparsec.examples.java.ast.declaration.QualifiedName
- QualifiedName(List) - Constructor for class org.jparsec.examples.sql.ast.QualifiedName
- QualifiedNameExpression - Class in org.jparsec.examples.sql.ast
-
An expression like "a.b.c".
- QualifiedNameExpression(QualifiedName) - Constructor for class org.jparsec.examples.sql.ast.QualifiedNameExpression
- qualifier - Variable in class org.jparsec.examples.java.ast.expression.NewExpression
- qualifier - Variable in class org.jparsec.examples.java.ast.expression.QualifiedExpression
- qualifiers - Variable in class org.jparsec.examples.java.ast.expression.ThisExpression
- QuantifiedRule - Class in org.jparsec.examples.bnf.ast
-
Represents a quantified rule.
- QuantifiedRule(Rule, Quantifier) - Constructor for class org.jparsec.examples.bnf.ast.QuantifiedRule
- quantifier - Variable in class org.jparsec.examples.bnf.ast.QuantifiedRule
- Quantifier - Enum in org.jparsec.examples.bnf.ast
-
Qualifies a rule.
- query() - Static method in class org.jparsec.examples.sql.parser.RelationParser
-
The
Parserfor a full fledged SQL query. - quoted(char, char) - Static method in class org.jparsec.Scanners
-
A scanner for a quoted string that starts with character
beginand ends with characterend. - quoted(Parser, Parser, Parser) - Static method in class org.jparsec.Scanners
-
Deprecated.Use
Parsers.sequence(begin, quoted.skipMany(), end).source().
R
- radix - Variable in class org.jparsec.examples.java.ast.expression.IntegerLiteral
- range(char, char) - Static method in class org.jparsec.pattern.CharPredicates
-
A
CharPredicatethat returns true if the character is within the range of[a, b]. - range(char, char) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the current character in the input is between characterc1andc2, in which case1is returned as match length. - read(Readable) - Static method in class org.jparsec.examples.common.IoUtils
-
Reads all characters from
readable. - read(URL) - Static method in class org.jparsec.examples.common.IoUtils
- ReadonlyExpression - Class in org.jparsec.examples.statement.ast
- ReadonlyExpression(String) - Constructor for class org.jparsec.examples.statement.ast.ReadonlyExpression
- Reference() - Constructor for class org.jparsec.Parser.Reference
- regex(String) - Static method in class org.jparsec.pattern.Patterns
-
Adapts a regular expression pattern string to a
Pattern. - regex(Pattern) - Static method in class org.jparsec.pattern.Patterns
-
Adapts a regular expression pattern to a
Pattern. - REGEXP_MODIFIERS - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches regular expression modifiers, which is a list of alpha characters. - REGEXP_PATTERN - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches any regular expression pattern string in the form of/some pattern here/. - Related Documentation - Section in package org.jparsec
- Related Documentation - Section in package org.jparsec.error
- Related Documentation - Section in package org.jparsec.functors
- Related Documentation - Section in package org.jparsec.pattern
- relation - Variable in class org.jparsec.examples.sql.ast.AliasedRelation
- relation - Variable in class org.jparsec.examples.sql.ast.BinaryRelationalExpression
- relation - Variable in class org.jparsec.examples.sql.ast.UnaryRelationalExpression
- Relation - Interface in org.jparsec.examples.sql.ast
-
Models a relation such as a select statement, or a table.
- RelationParser - Class in org.jparsec.examples.sql.parser
-
Parser for relation.
- RelationParser() - Constructor for class org.jparsec.examples.sql.parser.RelationParser
- reluctantBetween(Parser, Parser) - Method in class org.jparsec.Parser
-
Deprecated.This method probably only works in the simplest cases. And it's a character-level parser only. Use it at your own risk. It may be deleted later when we find a better way.
- repeat(int) - Method in class org.jparsec.pattern.Pattern
-
Deprecated.Use
Pattern.times(int)instead. - repeat(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches if the input has at leastncharacters and the firstncharacters all satisfypredicate. - reserved(String) - Static method in class org.jparsec.Tokens
-
Returns a
Tokens.Fragmenttagged asTokens.Tag.RESERVED. - RESERVED - Enum constant in enum org.jparsec.Tokens.Tag
-
Reserved word
- RESERVED - Static variable in class org.jparsec.Terminals
-
Parserthat recognizes reserved word tokens. i.e. - retn(R) - Method in class org.jparsec.Parser
- ReturnStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents "return" statement.
- ReturnStatement(Expression) - Constructor for class org.jparsec.examples.java.ast.statement.ReturnStatement
- returnType - Variable in class org.jparsec.examples.java.ast.declaration.MethodDef
- right - Variable in class org.jparsec.examples.java.ast.expression.BinaryExpression
- right - Variable in class org.jparsec.examples.sql.ast.BinaryExpression
- right - Variable in class org.jparsec.examples.sql.ast.CrossJoinRelation
- right - Variable in class org.jparsec.examples.sql.ast.JoinRelation
- right - Variable in class org.jparsec.examples.sql.ast.UnionRelation
- RIGHT - Enum constant in enum org.jparsec.examples.sql.ast.JoinType
- RSHIFT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- rule - Variable in class org.jparsec.examples.bnf.ast.QuantifiedRule
- Rule - Interface in org.jparsec.examples.bnf.ast
-
Represents any rule in BNF.
- RULE_DEFS - Static variable in class org.jparsec.examples.bnf.parser.RuleParser
- RuleDef - Class in org.jparsec.examples.bnf.ast
-
Represents a rule definition.
- RuleDef(String, Rule) - Constructor for class org.jparsec.examples.bnf.ast.RuleDef
- RuleParser - Class in org.jparsec.examples.bnf.parser
-
Parser for bnf rules.
- RuleParser() - Constructor for class org.jparsec.examples.bnf.parser.RuleParser
- RuleReference - Class in org.jparsec.examples.bnf.ast
-
Represents a reference to a named production rule.
- RuleReference(String) - Constructor for class org.jparsec.examples.bnf.ast.RuleReference
- rules - Variable in class org.jparsec.examples.bnf.ast.SequentialRule
- runnable(Runnable) - Static method in class org.jparsec.Parsers
-
Deprecated.
S
- s - Variable in class org.jparsec.examples.statement.ast.DoubleExpression
- s - Variable in class org.jparsec.examples.statement.ast.IdentExpression
- s - Variable in class org.jparsec.examples.statement.ast.ReadonlyExpression
- s - Variable in class org.jparsec.examples.statement.ast.SingleExpression
- s - Variable in class org.jparsec.examples.statement.ast.VarExpression
- s2 - Variable in class org.jparsec.examples.statement.ast.DoubleExpression
- Scanners - Class in org.jparsec
-
Provides common
Parserimplementations that scan the source and match certain string patterns. - SCIENTIFIC_NOTATION - Static variable in class org.jparsec.pattern.Patterns
- 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
-
Deprecated.Use
Tokens.scientificNotation()instead. - 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, List, Expression, GroupBy, OrderBy) - Constructor for class org.jparsec.examples.sql.ast.Select
- sepBy(Parser) - Method in class org.jparsec.Parser
- sepBy1(Parser) - Method in class org.jparsec.Parser
- sepEndBy(Parser) - Method in class org.jparsec.Parser
- sepEndBy1(Parser) - Method in class org.jparsec.Parser
- sequence(Iterable) - Static method in class org.jparsec.Parsers
-
A
Parserthat runsparserssequentially and discards the return values. - sequence(Parser...) - Static method in class org.jparsec.Parsers
-
A
Parserthat runsparserssequentially and discards the return values. - sequence(Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 5 parser objects sequentially. - sequence(Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 4 parser objects sequentially. - sequence(Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 3 parser objects sequentially. - sequence(Parser, Parser) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 2 parser objects sequentially. - sequence(Parser, Parser, BiFunction) - Static method in class org.jparsec.Parsers
- sequence(Parser, Parser, Parser, Map3) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 3 parser objects sequentially and transforms the return values usingmap. - sequence(Parser, Parser, Parser, Parser, Map4) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 4 parser objects sequentially and transforms the return values usingmap. - sequence(Parser, Parser, Parser, Parser, Parser, Map5) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 5 parser objects sequentially and transforms the return values usingmap. - sequence(Parser, Parser, Parser, Parser, Parser, Parser, Map6) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 6 parser objects sequentially and transforms the return values usingmap. - sequence(Parser, Parser, Parser, Parser, Parser, Parser, Parser, Map7) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 7 parser objects sequentially and transforms the return values usingmap. - sequence(Parser, Parser, Parser, Parser, Parser, Parser, Parser, Parser, Map8) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs 7 parser objects sequentially and transforms the return values usingmap. - sequence(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matches the input againstpatternssequentially. - SequentialRule - Class in org.jparsec.examples.bnf.ast
-
Represents a sequential rule.
- SequentialRule(List) - Constructor for class org.jparsec.examples.bnf.ast.SequentialRule
- setParseTree(ParseTree) - Method in exception class org.jparsec.error.ParserException
- shorter(Parser, Parser) - Static method in class org.jparsec.Parsers
- shorter(Pattern, Pattern) - Static method in class org.jparsec.pattern.Patterns
- shortest(Iterable) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs every element ofparsersand selects the shortest match. - shortest(Parser...) - Static method in class org.jparsec.Parsers
-
A
Parserthat runs every element ofparsersand selects the shortest match. - shortest(Pattern...) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat tries all ofpatterns, 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 "
case expr when cond then val ... end" expression. - SimpleCaseExpression(Expression, List, 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, List) - 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. such as 'a' or '\\'.
- 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 aCharactertoken. - 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.
- SingleExpression - Class in org.jparsec.examples.statement.ast
- SingleExpression(String) - Constructor for class org.jparsec.examples.statement.ast.SingleExpression
- skipAtLeast(int) - Method in class org.jparsec.Parser
- skipMany() - Method in class org.jparsec.Parser
-
p.skipMany()is equivalent top*in EBNF. - skipMany1() - Method in class org.jparsec.Parser
-
p.skipMany1()is equivalent top+in EBNF. - skipTimes(int) - Method in class org.jparsec.Parser
- skipTimes(int, int) - Method in class org.jparsec.Parser
-
A
Parserthat runsthisparser for at leastmintimes and up tomaxtimes, with all the return values ignored. - some(int) - Method in class org.jparsec.pattern.Pattern
-
Deprecated.Use
Pattern.atMost(int)instead. - some(int, int) - Method in class org.jparsec.pattern.Pattern
-
Deprecated.Use
Pattern.times(int, int)instead. - some(int, int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Deprecated.Use
Patterns.times(int, int, CharPredicate)instead. - some(int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Deprecated.Use
Patterns.atMost(int, CharPredicate)instead. - source() - Method in class org.jparsec.Parser
-
A
Parserthat returns the matched string in the original source. - SOURCE_LOCATION - Static variable in class org.jparsec.Parsers
-
A
Parserthat returns the current location in the source. - SourceLocation - Class in org.jparsec
-
Represents a location inside the 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.
- STAR - Enum constant in enum org.jparsec.examples.bnf.ast.Quantifier
- 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 - Variable in class org.jparsec.examples.java.ast.statement.WhileStatement
- Statement - Interface in org.jparsec.examples.java.ast.statement
-
Represents any statement.
- 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
- STATIC - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- staticImport - Variable in class org.jparsec.examples.java.ast.declaration.Import
- STRICT_DECIMAL - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject 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
Patternobject that matchesstringliterally. - 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
-
Deprecated.Use
Patterns.string(str).toScanner(name). - stringCaseInsensitive(String) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternobject that matchesstringcase insensitively. - stringCaseInsensitive(String) - Static method in class org.jparsec.Scanners
-
A scanner that matches the input against the specified string case insensitively.
- stringCaseInsensitive(String, String) - Static method in class org.jparsec.Scanners
-
Deprecated.Use
Patterns.stringCaseInsensitive(str).toScanner(name). - 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
- succeeds() - Method in class org.jparsec.Parser
- SuperCallStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents a "this(params)" statement.
- SuperCallStatement(List) - 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, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.SwitchStatement
- SYNCHRONIZED - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- 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.
T
- 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 - Class in org.jparsec.examples.java.parser
-
Parser for terminals.
- TerminalParser() - Constructor for class org.jparsec.examples.bnf.parser.TerminalParser
- 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
Terminalsinstance 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) - 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) - 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
- times(int) - Method in class org.jparsec.pattern.Pattern
-
Returns
Patternobject that matches the input against this pattern forntimes. - times(int, int) - Method in class org.jparsec.Parser
- times(int, int) - Method in class org.jparsec.pattern.Pattern
- times(int, int, CharPredicate) - Static method in class org.jparsec.pattern.Patterns
-
Returns a
Patternthat matches at leastminand up tomaxnumber of characters satisfyingpredicate, - to - Variable in class org.jparsec.examples.sql.ast.BetweenExpression
- TO_INTEGER - Static variable in class org.jparsec.functors.Maps
-
Deprecated.Use
Integer::valueOfdirectly. - TO_LOWER_CASE - Static variable in class org.jparsec.functors.Maps
- TO_UPPER_CASE - Static variable in class org.jparsec.functors.Maps
- toEnum(Class) - Static method in class org.jparsec.functors.Maps
-
Returns a
Mapthat maps the string representation of an enum to the corresponding enum value by callingEnum.valueOf(Class, String). - token() - Method in class org.jparsec.Parser
- token(String) - Method in class org.jparsec.Terminals
-
A
Parserthat recognizes the token identified bytokenName. - token(String...) - Method in class org.jparsec.Terminals
-
A
Parserthat recognizes a token identified by any oftokenNames. - token(TokenMap) - Static method in class org.jparsec.Parsers
-
Checks the current token with the
fromTokenobject. - 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() - Method in class org.jparsec.Terminals
-
Returns the tokenizer that tokenizes all terminals (operators, keywords, identifiers etc.) managed in this instance.
- TOKENIZER - Static variable in class org.jparsec.Terminals.DecimalLiteral
-
A tokenizer that parses a decimal number (valid patterns are:
1, 2.3, 00, 0., .23) and returns aTokens.Fragmenttoken tagged asTokens.Tag.DECIMAL. - TOKENIZER - Static variable in class org.jparsec.Terminals.Identifier
-
A tokenizer that parses any identifier and returns a
Tokens.Fragmenttoken tagged asTokens.Tag.IDENTIFIER. - TOKENIZER - Static variable in class org.jparsec.Terminals.IntegerLiteral
-
A tokenizer that parses a integer number (valid patterns are:
0, 00, 1, 10) and returns aTokens.Fragmenttoken tagged asTokens.Tag.INTEGER. - TOKENIZER - Static variable in class org.jparsec.Terminals.LongLiteral
-
A tokenizer that parses decimal, hex, and octal numbers and converts the string to a
Longvalue. - TOKENIZER - Static variable in class org.jparsec.Terminals.ScientificNumberLiteral
-
A tokenizer that parses a scientific notation and converts the string to a
Tokens.ScientificNotationvalue. - tokenizeWordsWith(Function) - Method in class org.jparsec.Terminals.Builder
-
Configures alternative tokenization strategy for words (except keywords).
- TokenMap<T> - Interface in org.jparsec
-
Maps a
Tokento a an object of typeT, 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
-
Pre-built
Tokens.Fragmenttoken tags. - tokenType(Class, 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
- toScanner(String) - Method in class org.jparsec.pattern.Pattern
-
Returns a scanner parser using
thispattern. - toString() - Method in class org.jparsec.error.Location
-
Deprecated.
- 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
- TRANSIENT - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
- 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, 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
Pairof 2 objects. - tuple(A, B, C) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.Returns a
Tuple3of 3 objects. - tuple(A, B, C, D) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.Returns a
Tuple4of 4 objects. - tuple(A, B, C, D, E) - Static method in class org.jparsec.functors.Tuples
-
Deprecated.Returns a
Tuple5of 5 objects. - tuple(Parser, Parser) - Static method in class org.jparsec.Parsers
-
Deprecated.Prefer to converting to your own object with a lambda.
- tuple(Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
Deprecated.Prefer to converting to your own object with a lambda.
- tuple(Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
Deprecated.Prefer to converting to your own object with a lambda.
- tuple(Parser, Parser, Parser, Parser, Parser) - Static method in class org.jparsec.Parsers
-
Deprecated.Prefer to converting to your own object with a lambda.
- Tuple3<A,
B, - Class in org.jparsec.functorsC> -
Deprecated.Prefer to using a lambda expression to convert to your own type.
- Tuple3(A, B, C) - Constructor for class org.jparsec.functors.Tuple3
-
Deprecated.
- Tuple4<A,
B, - Class in org.jparsec.functorsC, D> -
Deprecated.Prefer to using a lambda expression to convert to your own type.
- Tuple4(A, B, C, D) - Constructor for class org.jparsec.functors.Tuple4
-
Deprecated.
- Tuple5<A,
B, - Class in org.jparsec.functorsC, D, E> -
Deprecated.Prefer to using a lambda expression to convert to your own type.
- 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) - Constructor for class org.jparsec.examples.sql.ast.TupleExpression
- Tuples - Class in org.jparsec.functors
-
Deprecated.Prefer to using a lambda expression to convert to your own type.
- 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
U
- Unary<T> - Interface in org.jparsec.functors
-
Deprecated.Use
UnaryOperatorinstead. - UnaryExpression - Class in org.jparsec.examples.sql.ast
-
Models an expression with unary operator.
- UnaryExpression(Op, Expression) - Constructor for class org.jparsec.examples.sql.ast.UnaryExpression
- UnaryRelationalExpression - Class in org.jparsec.examples.sql.ast
-
Models an expression like "exists (select ...)".
- UnaryRelationalExpression(Relation, Op) - Constructor for class org.jparsec.examples.sql.ast.UnaryRelationalExpression
- unexpected(String) - Static method in class org.jparsec.Parsers
-
A
Parserthat fails and reports thatnameis logically unexpected. - UnionRelation - Class in org.jparsec.examples.sql.ast
-
Models a union relation.
- UnionRelation(Relation, boolean, Relation) - Constructor for class org.jparsec.examples.sql.ast.UnionRelation
- UNSIGNED_ARSHIFT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- UNSIGNED_RSHIFT - Enum constant in enum org.jparsec.examples.java.ast.expression.Operator
- until(Parser) - Method in class org.jparsec.Parser
-
A
Parserthat matches this parser zero or many times until the given parser succeeds. - UpperBoundWildcard - Class in org.jparsec.examples.java.ast.type
-
Represents "?
- UpperBoundWildcard(TypeLiteral) - Constructor for class org.jparsec.examples.java.ast.type.UpperBoundWildcard
V
- 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.
- Value(String, List, List) - Constructor for class org.jparsec.examples.java.ast.declaration.EnumDef.Value
- valueExpr - Variable in class org.jparsec.examples.statement.ast.FullExpression
- ValueExpression - Class in org.jparsec.examples.statement.ast
- ValueExpression(String) - Constructor for class org.jparsec.examples.statement.ast.ValueExpression
- ValueObject - Class in org.jparsec.examples.common
-
Base class that implements
Object.equals(Object),Object.hashCode()andObject#toString()on final fields. - 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 - 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.bnf.ast.Quantifier
-
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.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
- VarExpression - Class in org.jparsec.examples.statement.ast
- VarExpression(String) - Constructor for class org.jparsec.examples.statement.ast.VarExpression
- 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, TypeLiteral, List) - Constructor for class org.jparsec.examples.java.ast.statement.VarStatement
- VarStatement.Var - Class in org.jparsec.examples.java.ast.statement
- VOLATILE - Enum constant in enum org.jparsec.examples.java.ast.statement.SystemModifier
W
- where - Variable in class org.jparsec.examples.sql.ast.Select
- WhileStatement - Class in org.jparsec.examples.java.ast.statement
-
Represents the "while () ..." statement.
- WhileStatement(Expression, Statement) - Constructor for class org.jparsec.examples.java.ast.statement.WhileStatement
- WHITESPACES - Static variable in class org.jparsec.Indentation
-
A
Parserthat recognizes 1 or more whitespace characters on the same line. - WHITESPACES - Static variable in class org.jparsec.Scanners
-
A scanner that scans greedily for 1 or more whitespace characters.
- wildcard - Variable in class org.jparsec.examples.java.ast.declaration.Import
- WildcardExpression - Class in org.jparsec.examples.sql.ast
-
"a.b.*" or "*".
- WildcardExpression(QualifiedName) - Constructor for class org.jparsec.examples.sql.ast.WildcardExpression
- withSource() - Method in class org.jparsec.Parser
-
A
Parserthat returns both parsed object and matched string. - WithSource<T> - Class in org.jparsec
-
Parsed result with the matched source text.
- WithSource(T, String) - Constructor for class org.jparsec.WithSource
- WORD - Static variable in class org.jparsec.pattern.Patterns
-
A
Patternobject that matches a standard english word, which starts with either an underscore or an alpha character, followed by 0 or more alphanumeric characters. - words(Parser) - Method in class org.jparsec.Terminals
-
Starts to build a new
Terminalsinstance that recognizes words not already recognized bythisTerminalsinstance (typically operators).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Patterns.among(chars).toScanner(name).