A B C D E F G H I J L M N O P R S T U V W Z 

A

aaload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
aastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
AbstractMatcher - Class in com.github.fge.grappa.matchers.base
Abstract base class of most regular Matchers.
AbstractMatcher(String) - Constructor for class com.github.fge.grappa.matchers.base.AbstractMatcher
 
AbstractMatcher(Rule, String) - Constructor for class com.github.fge.grappa.matchers.base.AbstractMatcher
 
AbstractMatcher(Rule[], String) - Constructor for class com.github.fge.grappa.matchers.base.AbstractMatcher
 
AbstractParseRunner<V> - Class in com.github.fge.grappa.run
 
AbstractParseRunner(Rule) - Constructor for class com.github.fge.grappa.run.AbstractParseRunner
 
aconst_null() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ACTION(boolean) - Static method in class com.github.fge.grappa.parsers.BaseParser
Explicitly marks the wrapped expression as an action expression.
Action<V> - Interface in com.github.fge.grappa.rules
Instances of classes implementing this interface can be used directly in a rule definition to define a parser action.
ActionClassGenerator - Class in com.github.fge.grappa.transform.generate
 
ActionClassGenerator(boolean) - Constructor for class com.github.fge.grappa.transform.generate.ActionClassGenerator
 
ActionMatcher - Class in com.github.fge.grappa.matchers
A Matcher that not actually matches input but runs a given parser Action.
ActionMatcher(Action<?>) - Constructor for class com.github.fge.grappa.matchers.ActionMatcher
 
add(char) - Method in class com.github.fge.grappa.support.Characters
Adds the given character to the set.
add(Characters) - Method in class com.github.fge.grappa.support.Characters
Returns a new Characters object containing all the characters of this instance plus all characters of the given instance.
addAll(InsnList) - Method in class com.github.fge.grappa.transform.CodeBlock
 
addAnnotation(VisibleAnnotation) - Method in class com.github.fge.grappa.transform.CodeBlock
 
addPredecessor(InstructionGraphNode) - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
addPredecessors(Collection<BasicValue>) - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
addWord(String) - Method in class com.github.fge.grappa.matchers.trie.TrieBuilder
Add one word to the trie
addWord(String) - Method in class com.github.fge.grappa.matchers.trie.TrieNodeBuilder
 
advanceIndex(int) - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
advanceIndex(int) - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
afterParse(PostParseEvent<V>) - Method in class com.github.fge.grappa.run.ParseRunnerListener
 
afterParse(PostParseEvent<V>) - Method in class com.github.fge.grappa.run.trace.TracingListener
 
ALL - Static variable in class com.github.fge.grappa.support.Characters
The Characters set including all character.
allBut(char) - Static method in class com.github.fge.grappa.support.Characters
Creates a new Characters instance containing all characters minus the given one.
allBut(char...) - Static method in class com.github.fge.grappa.support.Characters
Creates a new Characters instance containing all characters minus the given ones.
allBut(String) - Static method in class com.github.fge.grappa.support.Characters
Creates a new Characters instance containing all characters minus the given ones.
aload(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
aloadMany(int...) - Method in class com.github.fge.grappa.transform.CodeBlock
Short-hand for specifying a set of aloads
alpha() - Method in class com.github.fge.grappa.parsers.BaseParser
ALPHA as defined by RFC 5234, appendix B, section 1: ASCII letters
anewarray(String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
annotation(Class<?>) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ANY - Static variable in class com.github.fge.grappa.parsers.BaseParser
Matches any character except Chars.EOI.
AnyMatcher - Class in com.github.fge.grappa.matchers
A Matcher matching any single character except EOI.
AnyMatcher() - Constructor for class com.github.fge.grappa.matchers.AnyMatcher
 
anyOf(String) - Method in class com.github.fge.grappa.parsers.BaseParser
Match any of the characters in the given string
anyOf(char[]) - Method in class com.github.fge.grappa.parsers.BaseParser
Match any character in the given char array
anyOf(Characters) - Method in class com.github.fge.grappa.parsers.BaseParser
Match any given character among a set of characters
AnyOfMatcher - Class in com.github.fge.grappa.matchers
A Matcher matching a single character out of a given Characters set.
AnyOfMatcher(Characters) - Constructor for class com.github.fge.grappa.matchers.AnyOfMatcher
 
append(String) - Method in class com.github.fge.grappa.support.StringBuilderVar
Appends the given string.
append(char) - Method in class com.github.fge.grappa.support.StringBuilderVar
Appends the given char.
append(String) - Method in class com.github.fge.grappa.support.StringVar
Appends the given string.
append(char) - Method in class com.github.fge.grappa.support.StringVar
Appends the given char.
append(CodeBlock) - Method in class com.github.fge.grappa.transform.CodeBlock
 
appended(String) - Method in class com.github.fge.grappa.support.StringBuilderVar
Appends the given string.
appended(char) - Method in class com.github.fge.grappa.support.StringBuilderVar
Appends the given char.
appended(String) - Method in class com.github.fge.grappa.support.StringVar
Appends the given string.
appended(char) - Method in class com.github.fge.grappa.support.StringVar
Appends the given char.
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.generate.ActionClassGenerator
 
appliesTo(InstructionGraphNode) - Method in class com.github.fge.grappa.transform.generate.ActionClassGenerator
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.generate.VarInitClassGenerator
 
appliesTo(InstructionGraphNode) - Method in class com.github.fge.grappa.transform.generate.VarInitClassGenerator
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.BodyWithSuperCallReplacer
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.CachingGenerator
 
appliesTo(InstructionGraphNode) - Method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.ImplicitActionsConverter
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.InstructionGraphCreator
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.InstructionGroupCreator
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.InstructionGroupPreparer
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.LabellingGenerator
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.ReturnInstructionUnifier
 
appliesTo(ParserClassNode, RuleMethod) - Method in interface com.github.fge.grappa.transform.process.RuleMethodProcessor
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.RuleMethodRewriter
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.SuperCallRewriter
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.UnusedLabelsRemover
 
appliesTo(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.VarFramingGenerator
 
aprintln() - Method in class com.github.fge.grappa.transform.CodeBlock
 
areturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 
arity() - Method in class com.github.fge.grappa.transform.CodeBlock
 
arm(Matcher) - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
Supplies this ProxyMatcher with its underlying delegate.
arraylength() - Method in class com.github.fge.grappa.transform.CodeBlock
 
arrayload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
arraystore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
asciiChars() - Method in class com.github.fge.grappa.parsers.BaseParser
CHAR as defined by RFC 5234, appendix B, section 1: ASCII, except NUL
AsmUtils - Class in com.github.fge.grappa.misc
 
astore(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
athrow() - Method in class com.github.fge.grappa.transform.CodeBlock
 

B

baload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
barrayload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
barraystore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
BaseAction<V> - Class in com.github.fge.grappa.transform.runtime
Base class of generated classes wrapping action expressions.
BaseAction(String) - Constructor for class com.github.fge.grappa.transform.runtime.BaseAction
 
BaseActions<V> - Class in com.github.fge.grappa.parsers
Convenience context aware base class defining a number of useful helper methods.
BaseActions() - Constructor for class com.github.fge.grappa.parsers.BaseActions
 
BaseGroupClass - Class in com.github.fge.grappa.transform.runtime
 
BaseGroupClass(String) - Constructor for class com.github.fge.grappa.transform.runtime.BaseGroupClass
 
BaseParser<V> - Class in com.github.fge.grappa.parsers
Base class of all parboiled parsers.
BaseParser() - Constructor for class com.github.fge.grappa.parsers.BaseParser
 
BaseVarInit<V> - Class in com.github.fge.grappa.transform.runtime
Base class of generated classes wrapping action var initializers.
BaseVarInit(String) - Constructor for class com.github.fge.grappa.transform.runtime.BaseVarInit
 
bastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
beforeMatch(PreMatchEvent<V>) - Method in class com.github.fge.grappa.run.ParseRunnerListener
 
beforeMatch(PreMatchEvent<V>) - Method in class com.github.fge.grappa.run.trace.TracingListener
 
beforeParse(PreParseEvent<V>) - Method in class com.github.fge.grappa.run.ParseRunnerListener
 
beforeParse(PreParseEvent<V>) - Method in class com.github.fge.grappa.run.trace.TracingListener
 
binaryOperation(AbstractInsnNode, BasicValue, BasicValue) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
bipush(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
bit() - Method in class com.github.fge.grappa.parsers.BaseParser
BIT as defined by RFC 5234, appendix B, section 1: 0 or 1
BodyWithSuperCallReplacer - Class in com.github.fge.grappa.transform.process
Replaces the method code with a simple call to the super method.
BodyWithSuperCallReplacer() - Constructor for class com.github.fge.grappa.transform.process.BodyWithSuperCallReplacer
 
boundedBoth(int, int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcherBuilder
 
boundedBoth(int, int) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcherBuilder
 
boundedBoth(int, int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Build a rule which is expected to match a number of times between two end points
BoundedBothJoinMatcher - Class in com.github.fge.grappa.matchers.join
 
BoundedBothJoinMatcher(Rule, Rule, int, int) - Constructor for class com.github.fge.grappa.matchers.join.BoundedBothJoinMatcher
 
BoundedBothRepeatMatcher - Class in com.github.fge.grappa.matchers.repeat
 
BoundedBothRepeatMatcher(Rule, int, int) - Constructor for class com.github.fge.grappa.matchers.repeat.BoundedBothRepeatMatcher
 
boundedDown(int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcherBuilder
 
boundedDown(int) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcherBuilder
 
boundedDown(int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Build a rule which is expected to match a minimum number of times
BoundedDownJoinMatcher - Class in com.github.fge.grappa.matchers.join
 
BoundedDownJoinMatcher(Rule, Rule, int) - Constructor for class com.github.fge.grappa.matchers.join.BoundedDownJoinMatcher
 
BoundedDownRepeatMatcher - Class in com.github.fge.grappa.matchers.repeat
 
BoundedDownRepeatMatcher(Rule, int) - Constructor for class com.github.fge.grappa.matchers.repeat.BoundedDownRepeatMatcher
 
boundedUp(int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcherBuilder
 
boundedUp(int) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcherBuilder
 
boundedUp(int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Build a rule which is expected to match a maximum number of times
BoundedUpJoinMatcher - Class in com.github.fge.grappa.matchers.join
 
BoundedUpJoinMatcher(Rule, Rule, int) - Constructor for class com.github.fge.grappa.matchers.join.BoundedUpJoinMatcher
 
BoundedUpRepeatMatcher - Class in com.github.fge.grappa.matchers.repeat
 
BoundedUpRepeatMatcher(Rule, int) - Constructor for class com.github.fge.grappa.matchers.repeat.BoundedUpRepeatMatcher
 
build() - Method in interface com.github.fge.grappa.helpers.ValueBuilder
Build the value
build() - Method in class com.github.fge.grappa.matchers.trie.TrieBuilder
 
build() - Method in class com.github.fge.grappa.matchers.trie.TrieNodeBuilder
 
bus - Variable in class com.github.fge.grappa.parsers.ListeningParser
 

C

CacheArguments - Class in com.github.fge.grappa.transform.runtime
Runtime cache arguments for generated parsers
CacheArguments(Object...) - Constructor for class com.github.fge.grappa.transform.runtime.CacheArguments
 
Cached - Annotation Type in com.github.fge.grappa.annotations
Build a cache for Rules having arguments
CachingGenerator - Class in com.github.fge.grappa.transform.process
Wraps the method code with caching and proxying constructs.
CachingGenerator() - Constructor for class com.github.fge.grappa.transform.process.CachingGenerator
 
caload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
CaseInsensitiveTrieMatcher - Class in com.github.fge.grappa.matchers.trie
The trie matcher
CaseInsensitiveTrieMatcher(Trie) - Constructor for class com.github.fge.grappa.matchers.trie.CaseInsensitiveTrieMatcher
 
castore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ch(char) - Method in class com.github.fge.grappa.parsers.BaseParser
Match one given character
Characters - Class in com.github.fge.grappa.support
An immutable, set-like aggregation of (relatively few) characters that allows for an inverted semantic ("all chars except these few").
charAt(int) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
charAt(int) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Returns the character at the given index.
CharIgnoreCaseMatcher - Class in com.github.fge.grappa.matchers
A Matcher matching a single character case-independently.
CharIgnoreCaseMatcher(char) - Constructor for class com.github.fge.grappa.matchers.CharIgnoreCaseMatcher
 
CharMatcher - Class in com.github.fge.grappa.matchers
A Matcher matching a single given character.
CharMatcher(char) - Constructor for class com.github.fge.grappa.matchers.CharMatcher
 
charRange(char, char) - Method in class com.github.fge.grappa.parsers.BaseParser
Match an inclusive range of chars
CharRangeMatcher - Class in com.github.fge.grappa.matchers
A Matcher matching a single character out of a given range of characters.
CharRangeMatcher(char, char) - Constructor for class com.github.fge.grappa.matchers.CharRangeMatcher
 
Chars - Class in com.github.fge.grappa.support
 
CharSequenceInputBuffer - Class in com.github.fge.grappa.buffers
CharSequenceInputBuffer(CharSequence) - Constructor for class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
CharsEscaper - Class in com.github.fge.grappa.support
 
checkcast(String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
checkIndex(int) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
checkIndex(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
ClassCache - Class in com.github.fge.grappa.transform
A class cache using a Guava LoadingCache
classNode - Variable in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
ClassNodeInitializer - Class in com.github.fge.grappa.transform.generate
Initializes the basic ParserClassNode fields and collects all methods.
ClassNodeInitializer() - Constructor for class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
clear() - Method in class com.github.fge.grappa.misc.Reference
Sets this references value field to null.
clear() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
clear() - Method in interface com.github.fge.grappa.stack.ValueStack
Clears all values.
clear() - Method in class com.github.fge.grappa.transform.CodeBlock
 
clearContents() - Method in class com.github.fge.grappa.support.StringBuilderVar
Clears the contents of the wrapped StringBuilder.
CodeBlock - Class in com.github.fge.grappa.transform
 
CodeBlock() - Constructor for class com.github.fge.grappa.transform.CodeBlock
 
CodeBlock(CodeBlock) - Constructor for class com.github.fge.grappa.transform.CodeBlock
 
CodeBlock(int) - Constructor for class com.github.fge.grappa.transform.CodeBlock
 
codePointAt(int) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
codePointAt(int) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Returns the Unicode code point starting at a given index
CodePointMatcher - Class in com.github.fge.grappa.matchers.unicode
A single Unicode code point matcher
CodePointMatcher(int) - Constructor for class com.github.fge.grappa.matchers.unicode.CodePointMatcher
 
CodePointRangeMatcher - Class in com.github.fge.grappa.matchers.unicode
Matcher for a range of Unicode code points
CodePointRangeMatcher(int, int) - Constructor for class com.github.fge.grappa.matchers.unicode.CodePointRangeMatcher
 
com.github.fge.grappa - package com.github.fge.grappa
 
com.github.fge.grappa.annotations - package com.github.fge.grappa.annotations
 
com.github.fge.grappa.buffers - package com.github.fge.grappa.buffers
 
com.github.fge.grappa.exceptions - package com.github.fge.grappa.exceptions
 
com.github.fge.grappa.helpers - package com.github.fge.grappa.helpers
 
com.github.fge.grappa.internal - package com.github.fge.grappa.internal
 
com.github.fge.grappa.matchers - package com.github.fge.grappa.matchers
 
com.github.fge.grappa.matchers.base - package com.github.fge.grappa.matchers.base
 
com.github.fge.grappa.matchers.delegate - package com.github.fge.grappa.matchers.delegate
 
com.github.fge.grappa.matchers.join - package com.github.fge.grappa.matchers.join
 
com.github.fge.grappa.matchers.predicates - package com.github.fge.grappa.matchers.predicates
 
com.github.fge.grappa.matchers.repeat - package com.github.fge.grappa.matchers.repeat
 
com.github.fge.grappa.matchers.trie - package com.github.fge.grappa.matchers.trie
 
com.github.fge.grappa.matchers.unicode - package com.github.fge.grappa.matchers.unicode
 
com.github.fge.grappa.matchers.wrap - package com.github.fge.grappa.matchers.wrap
 
com.github.fge.grappa.misc - package com.github.fge.grappa.misc
 
com.github.fge.grappa.parsers - package com.github.fge.grappa.parsers
Event-based parser
com.github.fge.grappa.rules - package com.github.fge.grappa.rules
 
com.github.fge.grappa.run - package com.github.fge.grappa.run
 
com.github.fge.grappa.run.context - package com.github.fge.grappa.run.context
 
com.github.fge.grappa.run.events - package com.github.fge.grappa.run.events
 
com.github.fge.grappa.run.trace - package com.github.fge.grappa.run.trace
 
com.github.fge.grappa.stack - package com.github.fge.grappa.stack
 
com.github.fge.grappa.support - package com.github.fge.grappa.support
 
com.github.fge.grappa.transform - package com.github.fge.grappa.transform
 
com.github.fge.grappa.transform.base - package com.github.fge.grappa.transform.base
 
com.github.fge.grappa.transform.generate - package com.github.fge.grappa.transform.generate
 
com.github.fge.grappa.transform.hash - package com.github.fge.grappa.transform.hash
 
com.github.fge.grappa.transform.process - package com.github.fge.grappa.transform.process
 
com.github.fge.grappa.transform.runtime - package com.github.fge.grappa.transform.runtime
 
ConstructorGenerator - Class in com.github.fge.grappa.transform.generate
Adds one constructor for each of the ParserClassNode.constructors, which simply delegates to the respective super constructor.
ConstructorGenerator() - Constructor for class com.github.fge.grappa.transform.generate.ConstructorGenerator
 
contains(char) - Method in class com.github.fge.grappa.support.Characters
Determines whether this instance contains the given character.
containsExplicitActions() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
containsImplicitActions() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
containsPotentialSuperCalls() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
containsVars() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
contentsCleared() - Method in class com.github.fge.grappa.support.StringBuilderVar
Clears the contents of the wrapped StringBuilder.
Context<V> - Interface in com.github.fge.grappa.run.context
A Context object is available to parser actions methods during their runtime and provides various support functionalities.
context - Variable in class com.github.fge.grappa.run.events.MatchContextEvent
 
ContextAware<V> - Interface in com.github.fge.grappa.run.context
Interface that can be implemented by classes containing action methods.
convertXLoads(InstructionGroup) - Static method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
copyOperation(AbstractInsnNode, BasicValue) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
cr() - Method in class com.github.fge.grappa.parsers.BaseParser
CR as defined by RFC 5234, appendix B, section 1 (\r)
createArgumentLoaders(String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
createParser(Class<P>, Object...) - Static method in class com.github.fge.grappa.Grappa
Creates a parser object whose rule creation methods can then be used with one of the ParseRunner implementations.
createParsingResult(boolean, MatcherContext<V>) - Method in class com.github.fge.grappa.run.AbstractParseRunner
 
createRootContext(InputBuffer, MatchHandler) - Method in class com.github.fge.grappa.run.AbstractParseRunner
 
crlf() - Method in class com.github.fge.grappa.parsers.BaseParser
CRLF as defined by RFC 5234, appendix B, section 1 (\r\n
ctl() - Method in class com.github.fge.grappa.parsers.BaseParser
CTL as defined by RFC 5234, appendix B, section 1: control characters
currentChar() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the next input character about to be matched.
currentIndex() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the current index in the input buffer.
CustomDefaultLabelMatcher<T extends CustomDefaultLabelMatcher<T>> - Class in com.github.fge.grappa.matchers.base
 
CustomDefaultLabelMatcher(Rule, String) - Constructor for class com.github.fge.grappa.matchers.base.CustomDefaultLabelMatcher
 
CustomDefaultLabelMatcher(Rule[], String) - Constructor for class com.github.fge.grappa.matchers.base.CustomDefaultLabelMatcher
 

D

d2f() - Method in class com.github.fge.grappa.transform.CodeBlock
 
d2i() - Method in class com.github.fge.grappa.transform.CodeBlock
 
d2l() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dadd() - Method in class com.github.fge.grappa.transform.CodeBlock
 
daload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dcmpg() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dcmpl() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ddiv() - Method in class com.github.fge.grappa.transform.CodeBlock
 
DefaultMatcherContext<V> - Class in com.github.fge.grappa.run.context
The Context implementation orchestrating most of the matching process.
DefaultMatcherContext(InputBuffer, ValueStack<V>, MatchHandler, Matcher) - Constructor for class com.github.fge.grappa.run.context.DefaultMatcherContext
Initializes a new root MatcherContext.
DefaultValueStack<V> - Class in com.github.fge.grappa.stack
 
DefaultValueStack() - Constructor for class com.github.fge.grappa.stack.DefaultValueStack
 
digit() - Method in class com.github.fge.grappa.parsers.BaseParser
DIGIT as defined by RFC 5234, appendix B, section 1 (0 to 9)
dload(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
dmul() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dneg() - Method in class com.github.fge.grappa.transform.CodeBlock
 
doDup() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
doDup() - Method in class com.github.fge.grappa.stack.ValueStackBase
 
DontExtend - Annotation Type in com.github.fge.grappa.annotations
Do not generate a wrapper method for this rule
DontLabel - Annotation Type in com.github.fge.grappa.annotations
Do not generate a label for this rule, or parser
DontSkipActionsInPredicates - Annotation Type in com.github.fge.grappa.annotations
Override SkipActionsInPredicates for one particular rule
dontSkipGeneration() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
doPeek(int) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
doPeek(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
Retrieves, witout removing, the value at the given stack indx
doPoke(int, V) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
doPoke(int, V) - Method in class com.github.fge.grappa.stack.ValueStackBase
Replaces a value at a given stack index
doPop(int) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
doPop(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
Removes the value from a given stack index
doPush(int, V) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
doPush(int, V) - Method in class com.github.fge.grappa.stack.ValueStackBase
Push a value onto the stack at the given index
doSwap(int) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
doSwap(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
Reverses the order of the top n stack values
dquote() - Method in class com.github.fge.grappa.parsers.BaseParser
DQUOTE as defined by RFC 5234, appendix B, section 1 "
drem() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dreturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 
drop() - Method in class com.github.fge.grappa.parsers.BaseActions
Removes the value at the top of the value stack.
drop(int) - Method in class com.github.fge.grappa.parsers.BaseActions
Removes the value the given number of elements below the top of the value stack.
dstore(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
dsub() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dup() - Method in class com.github.fge.grappa.parsers.BaseActions
Duplicates the top value of the value stack.
dup() - Method in interface com.github.fge.grappa.stack.ValueStack
Duplicates the top value.
dup() - Method in class com.github.fge.grappa.stack.ValueStackBase
Duplicates the top value.
dup() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dup2() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dup2_x1() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dup2_x2() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dup_x1() - Method in class com.github.fge.grappa.transform.CodeBlock
 
dup_x2() - Method in class com.github.fge.grappa.transform.CodeBlock
 

E

EMPTY - Static variable in class com.github.fge.grappa.parsers.BaseParser
Matches nothing and always succeeds.
empty() - Method in class com.github.fge.grappa.parsers.BaseParser
Match an empty string
EmptyMatcher - Class in com.github.fge.grappa.matchers
A Matcher that always successfully matches nothing.
EmptyMatcher() - Constructor for class com.github.fge.grappa.matchers.EmptyMatcher
 
end - Variable in class com.github.fge.grappa.support.IndexRange
The index of the character following the last character of the range.
EndOfInputMatcher - Class in com.github.fge.grappa.matchers
 
EndOfInputMatcher() - Constructor for class com.github.fge.grappa.matchers.EndOfInputMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.join.BoundedBothJoinMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.join.BoundedDownJoinMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.join.BoundedUpJoinMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.join.ExactMatchesJoinMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.repeat.BoundedBothRepeatMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.repeat.BoundedDownRepeatMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.repeat.BoundedUpRepeatMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.repeat.ExactMatchesRepeatMatcher
 
enoughCycles(int) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcher
 
enterFrame() - Method in class com.github.fge.grappa.support.Var
Provides a new frame for the variable.
eof() - Method in class com.github.fge.grappa.parsers.BaseParser
Match only at the end of input
EOI - Static variable in class com.github.fge.grappa.parsers.BaseParser
End of input rule
EOI - Static variable in class com.github.fge.grappa.support.Chars
The End-of-Input non-character.
equals(Object) - Method in class com.github.fge.grappa.support.Characters
 
equals(Object) - Method in class com.github.fge.grappa.support.IndexRange
 
equals(Object) - Method in class com.github.fge.grappa.support.Position
 
equals(Object) - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
equals(Object) - Method in class com.github.fge.grappa.transform.runtime.CacheArguments
 
escape(char) - Static method in class com.github.fge.grappa.support.Chars
 
escape(String) - Method in class com.github.fge.grappa.support.CharsEscaper
 
escapeMap() - Static method in class com.github.fge.grappa.support.Chars
Return a map of characters to escape and their replacements
escapeUnsafe(int) - Method in class com.github.fge.grappa.run.trace.LabelEscaper
 
exactly(int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcherBuilder
 
exactly(int) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcherBuilder
 
exactly(int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Build a rule which is expected to match a fixed number of times
ExactMatchesJoinMatcher - Class in com.github.fge.grappa.matchers.join
 
ExactMatchesJoinMatcher(Rule, Rule, int) - Constructor for class com.github.fge.grappa.matchers.join.ExactMatchesJoinMatcher
 
ExactMatchesRepeatMatcher - Class in com.github.fge.grappa.matchers.repeat
 
ExactMatchesRepeatMatcher(Rule, int) - Constructor for class com.github.fge.grappa.matchers.repeat.ExactMatchesRepeatMatcher
 
exitFrame() - Method in class com.github.fge.grappa.support.Var
Exits a frame previously entered with Var.enterFrame().
ExplicitActionsOnly - Annotation Type in com.github.fge.grappa.annotations
Don't wrap boolean expressions into Actions
extendParserClass(Class<?>) - Static method in class com.github.fge.grappa.transform.ParserTransformer
 
extract(int, int) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
extract(IndexRange) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
extract(int, int) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Constructs a new String from all character between the given indices.
extract(IndexRange) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Constructs a new String from all character covered by the given IndexRange.
extractLine(int) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
extractLine(int) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Constructs a new String containing all characters with the given line number except for the trailing newline.

F

f2d() - Method in class com.github.fge.grappa.transform.CodeBlock
 
f2i() - Method in class com.github.fge.grappa.transform.CodeBlock
 
f2l() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fadd() - Method in class com.github.fge.grappa.transform.CodeBlock
 
faload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fcmpg() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fcmpl() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fdiv() - Method in class com.github.fge.grappa.transform.CodeBlock
 
FieldNodeFunnel - Enum in com.github.fge.grappa.transform.hash
A Funnel for an ASM FieldNode
findLoadedClass(String, ClassLoader) - Static method in class com.github.fge.grappa.misc.AsmUtils
Returns the class with the given name if it has already been loaded by the given class loader.
finish() - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
firstOf(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Match the first rule of a series of rules
firstOf(Object[]) - Method in class com.github.fge.grappa.parsers.BaseParser
Match the first rule of a series of rules
FirstOfMatcher - Class in com.github.fge.grappa.matchers.delegate
A Matcher trying all of its submatchers in sequence and succeeding when the first submatcher succeeds.
FirstOfMatcher(Rule[]) - Constructor for class com.github.fge.grappa.matchers.delegate.FirstOfMatcher
 
fload(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
fmul() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fneg() - Method in class com.github.fge.grappa.transform.CodeBlock
 
forType(Type) - Static method in class com.github.fge.grappa.transform.LoadingOpcode
 
frame_same(Object...) - Method in class com.github.fge.grappa.transform.CodeBlock
adds a compressed frame to the stack
frem() - Method in class com.github.fge.grappa.transform.CodeBlock
 
freturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 
fromCharArray(char[]) - Method in class com.github.fge.grappa.parsers.BaseParser
Used internally to convert the given char array to a parser rule.
fromCharLiteral(char) - Method in class com.github.fge.grappa.parsers.BaseParser
Used internally to convert the given character literal to a parser rule.
fromStringLiteral(String) - Method in class com.github.fge.grappa.parsers.BaseParser
Used internally to convert the given string literal to a parser rule.
fstore(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
fsub() - Method in class com.github.fge.grappa.transform.CodeBlock
 
funnel(Label, PrimitiveSink) - Method in class com.github.fge.grappa.transform.hash.LabelListFunnel
 

G

generateGroupClassCode(InstructionGroup) - Method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
generateMethod(InstructionGroup, ClassWriter) - Method in class com.github.fge.grappa.transform.generate.ActionClassGenerator
 
generateMethod(InstructionGroup, ClassWriter) - Method in class com.github.fge.grappa.transform.generate.VarInitClassGenerator
 
generateMethod(InstructionGroup, ClassWriter) - Method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
get() - Method in class com.github.fge.grappa.misc.Reference
Retrieves this references value object.
getAndSet(T) - Method in class com.github.fge.grappa.misc.Reference
Replaces this references value with the given one.
getAnnotations() - Method in class com.github.fge.grappa.transform.CodeBlock
 
getBaseType() - Method in class com.github.fge.grappa.transform.generate.ActionClassGenerator
 
getBaseType() - Method in class com.github.fge.grappa.transform.generate.VarInitClassGenerator
 
getBaseType() - Method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
getBasicSubContext() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getBasicSubContext() - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
getByteCode(Class<P>) - Static method in class com.github.fge.grappa.Grappa
Generate the byte code of a transformed parser class
getByteCode(Class<?>) - Static method in class com.github.fge.grappa.transform.ParserTransformer
Dump the bytecode of a transformed parser class
getCharacters() - Method in class com.github.fge.grappa.matchers.AnyOfMatcher
 
getChars() - Method in class com.github.fge.grappa.support.Characters
Returns the characters in this set, if it is additive.
getChars() - Method in class com.github.fge.grappa.support.StringBuilderVar
 
getChildren() - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
getChildren() - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
getChildren() - Method in interface com.github.fge.grappa.misc.GraphNode
Returns the sub nodes of this node.
getChildren() - Method in class com.github.fge.grappa.misc.ImmutableGraphNode
 
getClassCode() - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
getClassConstructor(String, String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
getClassField(String, String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
getClassForType(Type) - Static method in class com.github.fge.grappa.misc.AsmUtils
Get the class equivalent to an ASM Type
getClassMethod(String, String, String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
getColumn() - Method in class com.github.fge.grappa.support.Position
 
getConstructors() - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
getContext() - Method in class com.github.fge.grappa.parsers.BaseActions
The current context for use with action methods.
getContext() - Method in class com.github.fge.grappa.run.events.MatchContextEvent
 
getCurrentChar() - Method in interface com.github.fge.grappa.run.context.Context
Returns the character at the current index..
getCurrentChar() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getCurrentCodePoint() - Method in interface com.github.fge.grappa.run.context.Context
Return the code point at the current index
getCurrentCodePoint() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getCurrentIndex() - Method in interface com.github.fge.grappa.run.context.Context
Returns the current index in the input buffer.
getCurrentIndex() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getExtendedClass() - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
getExtendedParserClassName(String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
getfield(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
getFields() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getFirstMatchChar() - Method in interface com.github.fge.grappa.run.context.Context
Returns the first character of the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
getFirstMatchChar() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getGraphNodes() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getGroup() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
getGroupClassCode() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getGroupClassType() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getGroups() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getInputBuffer() - Method in interface com.github.fge.grappa.run.context.Context
Returns the InputBuffer the parser is currently running against
getInputBuffer() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getInputBuffer() - Method in class com.github.fge.grappa.run.ParsingResult
Get the input buffer used by the parsing run
getInstruction() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
getInstructionList() - Method in class com.github.fge.grappa.transform.CodeBlock
 
getInstructions() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getLabel() - Method in class com.github.fge.grappa.matchers.base.AbstractMatcher
 
getLabel() - Method in class com.github.fge.grappa.matchers.base.CustomDefaultLabelMatcher
 
getLabel() - Method in interface com.github.fge.grappa.matchers.base.Matcher
 
getLabel() - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
getLabel() - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
getLabelText(RuleMethod) - Static method in class com.github.fge.grappa.transform.process.LabellingGenerator
 
getLevel() - Method in interface com.github.fge.grappa.run.context.Context
Returns the current matcher level, with 0 being the root level, 1 being one level below the root and so on.
getLevel() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getLevel() - Method in class com.github.fge.grappa.support.Var
Returns the current frame level of this variable, the very first level corresponding to zero.
getLine() - Method in class com.github.fge.grappa.support.Position
 
getLineCount() - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
getLineCount() - Method in interface com.github.fge.grappa.buffers.InputBuffer
Returns the number of lines in the input buffer.
getLineRange(int) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
getLineRange(int) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Get the index range matching a given line number
getLineRange(int) - Method in class com.github.fge.grappa.buffers.LineCounter
 
getLocalVariableList() - Method in class com.github.fge.grappa.transform.CodeBlock
 
getLocalVarVariables() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getMatch() - Method in interface com.github.fge.grappa.run.context.Context
Returns the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
getMatch() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getMatchEndIndex() - Method in interface com.github.fge.grappa.run.context.Context
Returns the end index of the rule immediately preceding the action expression that is currently being evaluated.
getMatchEndIndex() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getMatcher() - Method in interface com.github.fge.grappa.run.context.Context
Returns the Matcher of this context or null, if this context is not valid anymore.
getMatcher() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getMatchLength() - Method in interface com.github.fge.grappa.run.context.Context
Returns the number of characters matched by the rule immediately preceding the action expression that is currently being evaluated.
getMatchLength() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getMatchRange() - Method in interface com.github.fge.grappa.run.context.Context
Creates a new IndexRange instance covering the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
getMatchRange() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getMatchStartIndex() - Method in interface com.github.fge.grappa.run.context.Context
Returns the start index of the rule immediately preceding the action expression that is currently being evaluated.
getMatchStartIndex() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getMaxLength() - Method in class com.github.fge.grappa.matchers.trie.Trie
Get the maximum length of a match
getName() - Method in class com.github.fge.grappa.support.Var
Gets the name of this Var.
getName() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getNodes() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getNonnull() - Method in class com.github.fge.grappa.misc.Reference
Retrieves the non null value stored by this var
getNrLines() - Method in class com.github.fge.grappa.buffers.LineCounter
 
getNrWords() - Method in class com.github.fge.grappa.matchers.trie.Trie
Get the number of words injected into this trie
getNumberOfReturns() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getOwnerClass() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getParameterCount() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getParent() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getParent() - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
getParentClass() - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
getParentType() - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
getPosition(int) - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
getPosition(int) - Method in interface com.github.fge.grappa.buffers.InputBuffer
Returns the line and column number of the character with the given index encapsulated in a Position object.
getPosition() - Method in interface com.github.fge.grappa.run.context.Context
Returns the current position in the underlying InputBuffer as a Position instance.
getPosition() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getPredecessors() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
getResult() - Method in class com.github.fge.grappa.run.events.PostParseEvent
 
getResultValue() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
getReturnInstructionNode() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getRoot() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
getRuleMethods() - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
getSize() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
getStartIndex() - Method in interface com.github.fge.grappa.run.context.Context
Returns the index into the underlying input buffer where the matcher of this context started its match.
getStartIndex() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getstatic(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
getString() - Method in class com.github.fge.grappa.support.StringBuilderVar
 
getSubContext(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.ActionMatcher
 
getSubContext(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.base.AbstractMatcher
 
getSubContext(MatcherContext<V>) - Method in interface com.github.fge.grappa.matchers.base.Matcher
Creates a context for the matching of this matcher using the given parent context.
getSubContext(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
getSubContext(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
getSubContext(Matcher) - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getSubContext(Matcher) - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
getTopStackValue() - Method in class com.github.fge.grappa.run.ParsingResult
Gets the value at the top of the stack, if any
getTryCatchBlockList() - Method in class com.github.fge.grappa.transform.CodeBlock
 
getType() - Method in class com.github.fge.grappa.matchers.ActionMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.AnyMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.AnyOfMatcher
 
getType() - Method in interface com.github.fge.grappa.matchers.base.Matcher
Returns the type of this matcher
getType() - Method in class com.github.fge.grappa.matchers.CharIgnoreCaseMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.CharMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.CharRangeMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.delegate.FirstOfMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.delegate.OptionalMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.delegate.SequenceMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.EmptyMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.EndOfInputMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.join.JoinMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.NothingMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.predicates.TestMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.predicates.TestNotMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.RegexMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.StringIgnoreCaseMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.StringMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.trie.CaseInsensitiveTrieMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.trie.TrieMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.unicode.CodePointMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.unicode.CodePointRangeMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
getType() - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
getUsedLabels() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
getValueStack() - Method in class com.github.fge.grappa.run.AbstractParseRunner
 
getValueStack() - Method in interface com.github.fge.grappa.run.context.Context
Returns the value stack instance used during this parsing run.
getValueStack() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
getValueStack() - Method in class com.github.fge.grappa.run.ParsingResult
Get the value stack
go_to(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
GraphNode<T extends GraphNode<T>> - Interface in com.github.fge.grappa.misc
A node in a directed graph (that may have cycles).
Grappa - Class in com.github.fge.grappa
Main class providing the high-level entry point into the parboiled library.
GrappaException - Exception in com.github.fge.grappa.exceptions
Base exception class for all grammar/parser errors
GrappaException(Throwable) - Constructor for exception com.github.fge.grappa.exceptions.GrappaException
 
GrappaException(String, Throwable) - Constructor for exception com.github.fge.grappa.exceptions.GrappaException
 
GrappaException(String) - Constructor for exception com.github.fge.grappa.exceptions.GrappaException
 
GroupClassGenerator - Class in com.github.fge.grappa.transform.process
 
GroupClassGenerator(boolean) - Constructor for class com.github.fge.grappa.transform.process.GroupClassGenerator
 

H

hasCachedAnnotation() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
hasCustomLabel() - Method in class com.github.fge.grappa.matchers.base.AbstractMatcher
 
hasCustomLabel() - Method in class com.github.fge.grappa.matchers.base.CustomDefaultLabelMatcher
 
hasCustomLabel() - Method in interface com.github.fge.grappa.matchers.base.Matcher
 
hasCustomLabel() - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
hasCustomLabel() - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
hasDontExtend() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
hasDontLabelAnnotation() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
hasError() - Method in class com.github.fge.grappa.parsers.BaseActions
Determines whether the current rule or a sub rule has recorded a parse error.
hasError() - Method in interface com.github.fge.grappa.run.context.Context
Determines if this context or any sub node recorded a parse error.
hasError() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
hash(InstructionGroup, String) - Static method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
Generate a hash of the group, use it to name it
hashCode() - Method in class com.github.fge.grappa.support.Characters
 
hashCode() - Method in class com.github.fge.grappa.support.IndexRange
 
hashCode() - Method in class com.github.fge.grappa.support.Position
 
hashCode() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
hashCode() - Method in class com.github.fge.grappa.transform.runtime.CacheArguments
 
hasSkipActionsInPredicatesAnnotation() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
hexDigit() - Method in class com.github.fge.grappa.parsers.BaseParser
Hexadecimal digits, case insensitive
hexDigitLowerCase() - Method in class com.github.fge.grappa.parsers.BaseParser
Hexadecimal digits, lowercase
hexDigitUpperCase() - Method in class com.github.fge.grappa.parsers.BaseParser
Hexadecimal digits, uppercase
hTab() - Method in class com.github.fge.grappa.parsers.BaseParser
HTAB as defined by RFC 5234, appendix B, section 1 (\t)

I

i2b() - Method in class com.github.fge.grappa.transform.CodeBlock
 
i2c() - Method in class com.github.fge.grappa.transform.CodeBlock
 
i2d() - Method in class com.github.fge.grappa.transform.CodeBlock
 
i2f() - Method in class com.github.fge.grappa.transform.CodeBlock
 
i2l() - Method in class com.github.fge.grappa.transform.CodeBlock
 
i2s() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iadd() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iaload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iand() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iarrayload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_0() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_1() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_2() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_3() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_4() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_5() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iconst_m1() - Method in class com.github.fge.grappa.transform.CodeBlock
 
idiv() - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_acmpeq(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_acmpne(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_icmpeq(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_icmpge(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_icmpgt(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_icmple(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_icmplt(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
if_icmpne(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifeq(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
iffalse(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifge(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifgt(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifle(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
iflt(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifne(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifnonnull(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ifnull(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
iftrue(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ignoreCase(char) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a given character in a case-insensitive manner
ignoreCase(String) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a string literal in a case insensitive manner
ignoreCase(char...) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a sequence of characters as a string literal (case insensitive)
iinc(int, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
iload(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ImmutableGraphNode<T extends GraphNode<T>> - Class in com.github.fge.grappa.misc
A simple, immutable GraphNode implementation.
ImmutableGraphNode() - Constructor for class com.github.fge.grappa.misc.ImmutableGraphNode
 
ImmutableGraphNode(List<T>) - Constructor for class com.github.fge.grappa.misc.ImmutableGraphNode
 
ImplicitActionsConverter - Class in com.github.fge.grappa.transform.process
Makes all implicit action expressions in a rule method explicit.
ImplicitActionsConverter() - Constructor for class com.github.fge.grappa.transform.process.ImplicitActionsConverter
 
imul() - Method in class com.github.fge.grappa.transform.CodeBlock
 
IndexRange - Class in com.github.fge.grappa.support
A simple immutable container for a range of indices into an underlying InputBuffer.
IndexRange(int, int) - Constructor for class com.github.fge.grappa.support.IndexRange
 
ineg() - Method in class com.github.fge.grappa.transform.CodeBlock
 
inPredicate() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns true if the current rule is running somewhere underneath a Test/TestNot rule.
inPredicate() - Method in interface com.github.fge.grappa.run.context.Context
Determines if the current rule is running somewhere underneath a Test/TestNot rule.
inPredicate() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
InputBuffer - Interface in com.github.fge.grappa.buffers
Abstraction of a simple char[] buffer holding the input text to be parsed.
insertSetContextCalls(InstructionGroup, int) - Static method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
INSTANCE - Static variable in class com.github.fge.grappa.support.CharsEscaper
 
INSTANCE - Static variable in class com.github.fge.grappa.transform.ClassCache
 
instance_of(String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
InstructionGraphCreator - Class in com.github.fge.grappa.transform.process
Performs data/control flow analysis and constructs the instructions graph.
InstructionGraphCreator() - Constructor for class com.github.fge.grappa.transform.process.InstructionGraphCreator
 
InstructionGraphNode - Class in com.github.fge.grappa.transform.base
A node in the instruction dependency graph.
InstructionGraphNode(AbstractInsnNode, BasicValue) - Constructor for class com.github.fge.grappa.transform.base.InstructionGraphNode
 
InstructionGroup - Class in com.github.fge.grappa.transform.base
A group of instructions belonging to a ACTION or Var initializer
InstructionGroup(InstructionGraphNode) - Constructor for class com.github.fge.grappa.transform.base.InstructionGroup
 
InstructionGroupCreator - Class in com.github.fge.grappa.transform.process
 
InstructionGroupCreator() - Constructor for class com.github.fge.grappa.transform.process.InstructionGroupCreator
 
InstructionGroupHasher - Class in com.github.fge.grappa.transform.hash
Hashing for an InstructionGroup
InstructionGroupPreparer - Class in com.github.fge.grappa.transform.process
 
InstructionGroupPreparer() - Constructor for class com.github.fge.grappa.transform.process.InstructionGroupPreparer
 
InvalidGrammarException - Exception in com.github.fge.grappa.exceptions
Exception thrown when an invalid combination of rules in a grammar is detected at build time
InvalidGrammarException(Throwable) - Constructor for exception com.github.fge.grappa.exceptions.InvalidGrammarException
 
InvalidGrammarException(String, Throwable) - Constructor for exception com.github.fge.grappa.exceptions.InvalidGrammarException
 
InvalidGrammarException(String) - Constructor for exception com.github.fge.grappa.exceptions.InvalidGrammarException
 
invokedynamic(String, String, Handle, Object...) - Method in class com.github.fge.grappa.transform.CodeBlock
 
invokeinterface(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
invokespecial(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
invokestatic(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
invokevirtual(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ior() - Method in class com.github.fge.grappa.transform.CodeBlock
 
iprintln() - Method in class com.github.fge.grappa.transform.CodeBlock
 
irem() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ireturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 
isActionRoot(AbstractInsnNode) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isActionRoot(String, String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isActionRoot() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
isAssignableTo(String, Class<?>) - Static method in class com.github.fge.grappa.misc.AsmUtils
Determines whether the class with the given descriptor is assignable to the given type.
isBodyRewritten() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
isBooleanValueOfZ(AbstractInsnNode) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isBooleanValueOfZ(String, String, String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isCallOnContextAware(AbstractInsnNode) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isCallOnContextAware() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
isEmpty() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
isEmpty() - Method in interface com.github.fge.grappa.stack.ValueStack
Determines whether the stack is empty.
isEmpty() - Method in class com.github.fge.grappa.support.IndexRange
Determines whether this range contains no characters.
isEmpty() - Method in class com.github.fge.grappa.support.StringBuilderVar
Returns true if the wrapped string is either null or empty.
isEmpty() - Method in class com.github.fge.grappa.support.StringVar
Returns true if the wrapped string is either null or empty.
isFollowedBy(IndexRange) - Method in class com.github.fge.grappa.support.IndexRange
Determines whether this range is immediated followed by the given other one.
isGenerationSkipped() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
ishl() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ishr() - Method in class com.github.fge.grappa.transform.CodeBlock
 
isPrecededBy(IndexRange) - Method in class com.github.fge.grappa.support.IndexRange
Determines whether this range immediated follows the given other one.
isSet() - Method in class com.github.fge.grappa.misc.Reference
 
isSubtractive() - Method in class com.github.fge.grappa.support.Characters
 
isSuccess() - Method in class com.github.fge.grappa.run.ParsingResult
Return true if this parse result is a match
isSuperMethod() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
istore(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
isub() - Method in class com.github.fge.grappa.transform.CodeBlock
 
isVarInitRoot() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
isVarRoot(AbstractInsnNode) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isVarRoot(String, String, String) - Static method in class com.github.fge.grappa.misc.AsmUtils
 
isXLoad() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
isXStore() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
iterator() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
iushr() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ixor() - Method in class com.github.fge.grappa.transform.CodeBlock
 

J

join(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Kickstart a join rule
join(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Kickstart a join rule
joined - Variable in class com.github.fge.grappa.matchers.join.JoinMatcher
 
joining - Variable in class com.github.fge.grappa.matchers.join.JoinMatcher
 
JoinMatcher - Class in com.github.fge.grappa.matchers.join
A joining matcher
JoinMatcher(Rule, Rule) - Constructor for class com.github.fge.grappa.matchers.join.JoinMatcher
 
JoinMatcherBootstrap<V,P extends BaseParser<V>> - Class in com.github.fge.grappa.matchers.join
Bootstrapping a JoinMatcher
JoinMatcherBootstrap(P, Rule) - Constructor for class com.github.fge.grappa.matchers.join.JoinMatcherBootstrap
 
JoinMatcherBuilder<V> - Class in com.github.fge.grappa.matchers.join
The final step to building a JoinMatcher
jsr(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 

L

l2d() - Method in class com.github.fge.grappa.transform.CodeBlock
 
l2f() - Method in class com.github.fge.grappa.transform.CodeBlock
 
l2i() - Method in class com.github.fge.grappa.transform.CodeBlock
 
Label - Annotation Type in com.github.fge.grappa.annotations
Apply a custom label to a Rule
label(String) - Method in class com.github.fge.grappa.matchers.base.AbstractMatcher
 
label(String) - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
label(String) - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
label(String) - Method in interface com.github.fge.grappa.rules.Rule
Attaches a label to this Rule.
label(LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
LabelEscaper - Class in com.github.fge.grappa.run.trace
 
LabelEscaper() - Constructor for class com.github.fge.grappa.run.trace.LabelEscaper
 
LabellingGenerator - Class in com.github.fge.grappa.transform.process
Adds automatic labelling code before the return instruction.
LabellingGenerator() - Constructor for class com.github.fge.grappa.transform.process.LabellingGenerator
 
LabelListFunnel - Class in com.github.fge.grappa.transform.hash
A Funnel for a list of (ASM) Labels
LabelListFunnel() - Constructor for class com.github.fge.grappa.transform.hash.LabelListFunnel
 
ladd() - Method in class com.github.fge.grappa.transform.CodeBlock
 
laload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
land() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lcmp() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lconst_0() - Method in class com.github.fge.grappa.transform.CodeBlock
 
ldc(Object) - Method in class com.github.fge.grappa.transform.CodeBlock
 
LdcInsnFunnel - Enum in com.github.fge.grappa.transform.hash
A Funnel for an LDC instruction
ldiv() - Method in class com.github.fge.grappa.transform.CodeBlock
 
length() - Method in class com.github.fge.grappa.buffers.CharSequenceInputBuffer
 
length() - Method in interface com.github.fge.grappa.buffers.InputBuffer
 
length() - Method in class com.github.fge.grappa.support.IndexRange
 
lf() - Method in class com.github.fge.grappa.parsers.BaseParser
LF as defined by RFC 5234, appendix B, section 1 (\n)
line(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
line(int, LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
LineCounter - Class in com.github.fge.grappa.buffers
 
LineCounter(CharSequence) - Constructor for class com.github.fge.grappa.buffers.LineCounter
 
ListeningParser<V> - Class in com.github.fge.grappa.parsers
A basic parser with an attached EventBus
ListeningParser() - Constructor for class com.github.fge.grappa.parsers.ListeningParser
 
ListeningParseRunner<V> - Class in com.github.fge.grappa.run
The most basic of all ParseRunner implementations.
ListeningParseRunner(Rule) - Constructor for class com.github.fge.grappa.run.ListeningParseRunner
Creates a new BasicParseRunner instance for the given rule.
lload(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
lmul() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lneg() - Method in class com.github.fge.grappa.transform.CodeBlock
 
loadClass(String, byte[], ClassLoader) - Static method in class com.github.fge.grappa.misc.AsmUtils
Loads the class defined with the given name and bytecode using the given class loader
loadClass(String) - Method in class com.github.fge.grappa.transform.ClassCache
Load a class from a JVM string class descriptor (for instance Ljava/lang/String
LoadingOpcode - Class in com.github.fge.grappa.transform
 
lookupswitch(LabelNode, int[], LabelNode[]) - Method in class com.github.fge.grappa.transform.CodeBlock
 
lor() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lrem() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lreturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lshl() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lshr() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lstore(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
lsub() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lushr() - Method in class com.github.fge.grappa.transform.CodeBlock
 
lxor() - Method in class com.github.fge.grappa.transform.CodeBlock
 

M

match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.ActionMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.AnyMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.AnyOfMatcher
 
match(MatcherContext<V>) - Method in interface com.github.fge.grappa.matchers.base.Matcher
Tries a match on the given MatcherContext.
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.CharIgnoreCaseMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.CharMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.CharRangeMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.delegate.FirstOfMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.delegate.OptionalMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.delegate.SequenceMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.EmptyMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.EndOfInputMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.join.JoinMatcher
Tries a match on the given MatcherContext.
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.NothingMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.predicates.TestMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.predicates.TestNotMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.RegexMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.StringIgnoreCaseMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.StringMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.trie.CaseInsensitiveTrieMatcher
Tries a match on the given MatcherContext.
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.trie.TrieMatcher
Tries a match on the given MatcherContext.
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.unicode.CodePointMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.unicode.CodePointRangeMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
match(MatcherContext<V>) - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
match() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
match(MatcherContext<T>) - Method in class com.github.fge.grappa.run.ListeningParseRunner
 
match(MatcherContext<V>) - Method in interface com.github.fge.grappa.run.MatchHandler
Runs the given MatcherContext.
MatchContextEvent<V> - Class in com.github.fge.grappa.run.events
 
MatchContextEvent(MatcherContext<V>) - Constructor for class com.github.fge.grappa.run.events.MatchContextEvent
 
matchCycle(MatcherContext<V>, int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcher
 
matchedChar() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the first character of the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
matchEnd() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the end location of the rule immediately preceding the action expression that is currently being evaluated.
Matcher - Interface in com.github.fge.grappa.matchers.base
A Matcher instance is responsible for "executing" a specific Rule instance, i.e.
MatcherContext<V> - Interface in com.github.fge.grappa.run.context
 
MatcherType - Enum in com.github.fge.grappa.matchers
Enumeration of the different matcher types
matchFailure(MatchFailureEvent<V>) - Method in class com.github.fge.grappa.run.ParseRunnerListener
 
matchFailure(MatchFailureEvent<V>) - Method in class com.github.fge.grappa.run.trace.TracingListener
 
MatchFailureEvent<V> - Class in com.github.fge.grappa.run.events
 
MatchFailureEvent(MatcherContext<V>) - Constructor for class com.github.fge.grappa.run.events.MatchFailureEvent
 
MatchHandler - Interface in com.github.fge.grappa.run
A MatchHandler is responsible for actually running the match of a given MatcherContext.
matchLength() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the number of characters matched by the rule immediately preceding the action expression that is currently being evaluated.
matchOrDefault(String) - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
matchRange() - Method in class com.github.fge.grappa.parsers.BaseActions
Creates a new IndexRange instance covering the input text matched by the rule immediately preceding the action expression that is currently being evaluated.
matchStart() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the start index of the rule immediately preceding the action expression that is currently being evaluated.
matchSuccess(MatchSuccessEvent<V>) - Method in class com.github.fge.grappa.run.ParseRunnerListener
 
matchSuccess(MatchSuccessEvent<V>) - Method in class com.github.fge.grappa.run.trace.TracingListener
 
MatchSuccessEvent<V> - Class in com.github.fge.grappa.run.events
 
MatchSuccessEvent(MatcherContext<V>) - Constructor for class com.github.fge.grappa.run.events.MatchSuccessEvent
 
max(int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Return a rule with a maximum number of cycles to run
merge(BasicValue, BasicValue) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
mergedWith(IndexRange) - Method in class com.github.fge.grappa.support.IndexRange
Created a new IndexRange that spans all characters between the smallest and the highest index of the two ranges.
method - Variable in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
min(int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Return a rule with a minimum number of cycles to run
monitorenter() - Method in class com.github.fge.grappa.transform.CodeBlock
 
monitorexit() - Method in class com.github.fge.grappa.transform.CodeBlock
 
moveFlagsTo(RuleMethod) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
moveTo(Set<ParserAnnotation>, Set<ParserAnnotation>) - Static method in enum com.github.fge.grappa.transform.ParserAnnotation
 
multianewarray(String, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 

N

naryOperation(AbstractInsnNode, List<? extends BasicValue>) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
newarray(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
newBuilder() - Static method in class com.github.fge.grappa.matchers.trie.Trie
Create a new builder for this class
newCodeBlock() - Static method in class com.github.fge.grappa.transform.CodeBlock
 
newCodeBlock(int) - Static method in class com.github.fge.grappa.transform.CodeBlock
 
newCodeBlock(CodeBlock) - Static method in class com.github.fge.grappa.transform.CodeBlock
 
newControlFlowEdge(int, int) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
newobj(String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
newOperation(AbstractInsnNode) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
newValue(Type) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
NONE - Static variable in class com.github.fge.grappa.support.Characters
The empty Characters set
noneOf(String) - Method in class com.github.fge.grappa.parsers.BaseParser
Match any characters except the ones contained in the strings
noneOf(char[]) - Method in class com.github.fge.grappa.parsers.BaseParser
Match all characters except the ones in the char array given as an argument
NonFinalForTesting - Annotation Type in com.github.fge.grappa.internal
 
nop() - Method in class com.github.fge.grappa.transform.CodeBlock
 
NOTHING - Static variable in class com.github.fge.grappa.parsers.BaseParser
Matches nothing and always fails.
NothingMatcher - Class in com.github.fge.grappa.matchers
A Matcher that never matches anything.
NothingMatcher() - Constructor for class com.github.fge.grappa.matchers.NothingMatcher
 
nTimes(int, Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Deprecated.

O

octet() - Method in class com.github.fge.grappa.parsers.BaseParser
OCTET as defined by RFC 5234, appendix B, section 1 (0x00 to 0xff)
of(char) - Static method in class com.github.fge.grappa.support.Characters
Creates a new Characters instance containing only the given char.
of(char...) - Static method in class com.github.fge.grappa.support.Characters
Creates a new Characters instance containing only the given chars.
of(String) - Static method in class com.github.fge.grappa.support.Characters
Creates a new Characters instance containing only the given chars.
oneOrMore(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Try and match a rule repeatedly, at least once
oneOrMore(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Try and repeatedly match a set of rules, at least once
optional(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Try and match a rule zero or one time
optional(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Try and match a given set of rules once
OptionalMatcher - Class in com.github.fge.grappa.matchers.delegate
A Matcher that tries its submatcher once against the input and always succeeds.
OptionalMatcher(Rule) - Constructor for class com.github.fge.grappa.matchers.delegate.OptionalMatcher
 
overlapsWith(IndexRange) - Method in class com.github.fge.grappa.support.IndexRange
Determines whether this range overlaps with the given other one.

P

parser - Variable in class com.github.fge.grappa.misc.RangeMatcherBuilder
 
ParserAnnotation - Enum in com.github.fge.grappa.transform
Enumeration associating parser or rule annotations to their ASM descriptor
ParserClassNode - Class in com.github.fge.grappa.transform.base
 
ParserClassNode(Class<?>) - Constructor for class com.github.fge.grappa.transform.base.ParserClassNode
 
ParserTransformer - Class in com.github.fge.grappa.transform
 
ParseRunner<V> - Interface in com.github.fge.grappa.run
A ParseRunner performs the actual parsing run of a given parser rule on a given input text.
ParseRunnerListener<V> - Class in com.github.fge.grappa.run
 
ParseRunnerListener() - Constructor for class com.github.fge.grappa.run.ParseRunnerListener
 
ParsingResult<V> - Class in com.github.fge.grappa.run
A simple container encapsulating the result of a parsing run.
ParsingResult(boolean, ValueStack<V>, InputBuffer) - Constructor for class com.github.fge.grappa.run.ParsingResult
Creates a new ParsingResult.
peek() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the value at the top of the value stack without removing it.
peek(int) - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the value the given number of elements below the top of the value stack without removing it.
peek() - Method in interface com.github.fge.grappa.stack.ValueStack
Returns the value at the top of the stack without removing it.
peek(int) - Method in interface com.github.fge.grappa.stack.ValueStack
Returns the value the given number of elements below the top of the stack without removing it.
peek() - Method in class com.github.fge.grappa.stack.ValueStackBase
 
peek(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
peekAs(Class<E>) - Method in class com.github.fge.grappa.parsers.BaseActions
Returns and casts the value at the top of the value stack without removing it.
peekAs(Class<E>, int) - Method in class com.github.fge.grappa.parsers.BaseActions
Returns and casts the value the given number of elements below the top of the value stack without removing it.
peekAs(Class<T>) - Method in interface com.github.fge.grappa.stack.ValueStack
Casts and returns the value at the top of the stack without removing it
peekAs(Class<T>, int) - Method in interface com.github.fge.grappa.stack.ValueStack
Casts and returns the value at a given index in the stack without removing it
peekAs(Class<T>) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
peekAs(Class<T>, int) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
poke(V) - Method in class com.github.fge.grappa.parsers.BaseActions
Replaces the current top value of the value stack with the given value.
poke(int, V) - Method in class com.github.fge.grappa.parsers.BaseActions
Replaces the element the given number of elements below the current top of the value stack.
poke(V) - Method in interface com.github.fge.grappa.stack.ValueStack
Replaces the current top value with the given value.
poke(int, V) - Method in interface com.github.fge.grappa.stack.ValueStack
Replaces the element the given number of elements below the current top of the stack.
poke(V) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
poke(int, V) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
pop() - Method in class com.github.fge.grappa.parsers.BaseActions
Removes the value at the top of the value stack and returns it.
pop(int) - Method in class com.github.fge.grappa.parsers.BaseActions
Removes the value the given number of elements below the top of the value stack and returns it
pop() - Method in interface com.github.fge.grappa.stack.ValueStack
Removes the value at the top of the stack and returns it.
pop(int) - Method in interface com.github.fge.grappa.stack.ValueStack
Removes the value the given number of elements below the top of the stack.
pop() - Method in class com.github.fge.grappa.stack.ValueStackBase
 
pop(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
pop() - Method in class com.github.fge.grappa.transform.CodeBlock
 
pop2() - Method in class com.github.fge.grappa.transform.CodeBlock
 
popAs(Class<E>) - Method in class com.github.fge.grappa.parsers.BaseActions
Removes the value at the top of the value stack and casts it before returning it
popAs(Class<E>, int) - Method in class com.github.fge.grappa.parsers.BaseActions
Removes the value the given number of elements below the top of the value stack and casts it before returning it
popAs(Class<T>) - Method in interface com.github.fge.grappa.stack.ValueStack
Removes and casts the value at the top of the stack, and returns it
popAs(Class<T>, int) - Method in interface com.github.fge.grappa.stack.ValueStack
Removes and casts the value at a given index in the stack, and returns it
popAs(Class<T>) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
popAs(Class<T>, int) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
position() - Method in class com.github.fge.grappa.parsers.BaseActions
Returns the current position in the underlying InputBuffer as a Position instance.
Position - Class in com.github.fge.grappa.support
Simple container class for a line/column position in the input text.
Position(int, int) - Constructor for class com.github.fge.grappa.support.Position
 
post(ValueBuilder<T>) - Method in class com.github.fge.grappa.parsers.ListeningParser
Post a value on the bus from a ValueBuilder
post(Var<T>) - Method in class com.github.fge.grappa.parsers.ListeningParser
Post a value on the bus from a Var
PostParseEvent<V> - Class in com.github.fge.grappa.run.events
 
PostParseEvent(ParsingResult<V>) - Constructor for class com.github.fge.grappa.run.events.PostParseEvent
 
postRaw(Object) - Method in class com.github.fge.grappa.parsers.ListeningParser
"Raw" post to the bus
PreMatchEvent<V> - Class in com.github.fge.grappa.run.events
 
PreMatchEvent(MatcherContext<V>) - Constructor for class com.github.fge.grappa.run.events.PreMatchEvent
 
PreParseEvent<V> - Class in com.github.fge.grappa.run.events
 
PreParseEvent(MatcherContext<V>) - Constructor for class com.github.fge.grappa.run.events.PreParseEvent
 
prepend(CodeBlock) - Method in class com.github.fge.grappa.transform.CodeBlock
 
process(ParserClassNode) - Method in class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
process(ParserClassNode) - Method in class com.github.fge.grappa.transform.generate.ConstructorGenerator
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.BodyWithSuperCallReplacer
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.CachingGenerator
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.GroupClassGenerator
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.ImplicitActionsConverter
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.InstructionGraphCreator
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.InstructionGroupCreator
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.InstructionGroupPreparer
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.LabellingGenerator
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.ReturnInstructionUnifier
 
process(ParserClassNode, RuleMethod) - Method in interface com.github.fge.grappa.transform.process.RuleMethodProcessor
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.RuleMethodRewriter
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.SuperCallRewriter
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.UnusedLabelsRemover
 
process(ParserClassNode, RuleMethod) - Method in class com.github.fge.grappa.transform.process.VarFramingGenerator
 
ProxyMatcher - Class in com.github.fge.grappa.matchers.wrap
A Matcher that delegates all Rule and Matcher interface methods to another Matcher.
ProxyMatcher() - Constructor for class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
push(V) - Method in class com.github.fge.grappa.parsers.BaseActions
Pushes the given value onto the value stack.
push(int, V) - Method in class com.github.fge.grappa.parsers.BaseActions
Inserts the given value a given number of elements below the current top of the value stack.
push(V) - Method in interface com.github.fge.grappa.stack.ValueStack
Pushes the given value onto the stack.
push(int, V) - Method in interface com.github.fge.grappa.stack.ValueStack
Inserts the given value a given number of elements below the current top of the stack.
push(V) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
push(int, V) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
pushBoolean(boolean) - Method in class com.github.fge.grappa.transform.CodeBlock
 
pushInt(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
putfield(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
putstatic(String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 

R

range(Range<Integer>) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Core method for building a repeating matcher
RangeMatcherBuilder<V> - Class in com.github.fge.grappa.misc
A matcher builder for matchers repeating a given number of times
RangeMatcherBuilder(BaseParser<V>, Rule) - Constructor for class com.github.fge.grappa.misc.RangeMatcherBuilder
 
rawReturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 
recordAnnotation(Set<ParserAnnotation>, String) - Static method in enum com.github.fge.grappa.transform.ParserAnnotation
Record an enumeration value into a set if the descriptor is known
Reference<T> - Class in com.github.fge.grappa.misc
A simple container holding a reference to another object.
Reference() - Constructor for class com.github.fge.grappa.misc.Reference
Create a new Reference with a null value.
Reference(T) - Constructor for class com.github.fge.grappa.misc.Reference
Create a new Reference to the given value object.
regex(String) - Method in class com.github.fge.grappa.parsers.BaseParser
Match the input text using a Java regular expression
RegexMatcher - Class in com.github.fge.grappa.matchers
A matcher for a Java regular expression
RegexMatcher(String) - Constructor for class com.github.fge.grappa.matchers.RegexMatcher
 
register(Object) - Method in class com.github.fge.grappa.parsers.ListeningParser
Register a listener to the event bus
registerListener(ParseRunnerListener<V>) - Method in class com.github.fge.grappa.run.ListeningParseRunner
 
remove(char) - Method in class com.github.fge.grappa.support.Characters
Removes the given character from the set.
remove(Characters) - Method in class com.github.fge.grappa.support.Characters
Returns a new Characters object containing all the characters of this instance minus all characters of the given instance.
repeat(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Kickstart a repeat rule
repeat(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Kickstart a repeat rule
RepeatMatcher - Class in com.github.fge.grappa.matchers.repeat
A matcher which repeats matching a given number of times
RepeatMatcher(Rule) - Constructor for class com.github.fge.grappa.matchers.repeat.RepeatMatcher
 
RepeatMatcherBuilder<V> - Class in com.github.fge.grappa.matchers.repeat
 
RepeatMatcherBuilder(BaseParser<V>, Rule) - Constructor for class com.github.fge.grappa.matchers.repeat.RepeatMatcherBuilder
 
reset() - Method in interface com.github.fge.grappa.helpers.ValueBuilder
Reset this builder
resetValueStack() - Method in class com.github.fge.grappa.run.AbstractParseRunner
 
restoreSnapshot(Object) - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
restoreSnapshot(Object) - Method in interface com.github.fge.grappa.stack.ValueStack
Restores the stack state as previously returned by ValueStack.takeSnapshot().
ret(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
ReturnInstructionUnifier - Class in com.github.fge.grappa.transform.process
Replaces all "non-last" return instructions with goto instructions to the last return instruction.
ReturnInstructionUnifier() - Constructor for class com.github.fge.grappa.transform.process.ReturnInstructionUnifier
 
returnOperation(AbstractInsnNode, BasicValue, BasicValue) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
returns() - Method in class com.github.fge.grappa.transform.CodeBlock
 
rootMatcher - Variable in class com.github.fge.grappa.run.AbstractParseRunner
 
rule - Variable in class com.github.fge.grappa.misc.RangeMatcherBuilder
 
Rule - Interface in com.github.fge.grappa.rules
Describes the return values of parser rule production methods.
RuleMethod - Class in com.github.fge.grappa.transform.base
 
RuleMethod(Class<?>, int, String, String, String, String[], Set<ParserAnnotation>) - Constructor for class com.github.fge.grappa.transform.base.RuleMethod
 
RuleMethodInterpreter - Class in com.github.fge.grappa.transform
 
RuleMethodInterpreter(RuleMethod) - Constructor for class com.github.fge.grappa.transform.RuleMethodInterpreter
 
RuleMethodProcessor - Interface in com.github.fge.grappa.transform.process
An individual processor for altering a generated RuleMethod
RuleMethodRewriter - Class in com.github.fge.grappa.transform.process
Inserts action group class instantiation code at the groups respective placeholders.
RuleMethodRewriter() - Constructor for class com.github.fge.grappa.transform.process.RuleMethodRewriter
 
run(Context<V>) - Method in interface com.github.fge.grappa.rules.Action
Runs the parser action.
run(CharSequence) - Method in class com.github.fge.grappa.run.AbstractParseRunner
 
run(InputBuffer) - Method in class com.github.fge.grappa.run.ListeningParseRunner
 
run(CharSequence) - Method in interface com.github.fge.grappa.run.ParseRunner
Performs the actual parse and creates a corresponding ParsingResult instance.
run(InputBuffer) - Method in interface com.github.fge.grappa.run.ParseRunner
Performs the actual parse and creates a corresponding ParsingResult instance.
runAgain(int) - Method in class com.github.fge.grappa.matchers.join.BoundedBothJoinMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.join.BoundedDownJoinMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.join.BoundedUpJoinMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.join.ExactMatchesJoinMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.join.JoinMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.repeat.BoundedBothRepeatMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.repeat.BoundedDownRepeatMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.repeat.BoundedUpRepeatMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.repeat.ExactMatchesRepeatMatcher
 
runAgain(int) - Method in class com.github.fge.grappa.matchers.repeat.RepeatMatcher
 
runMatcher() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
runMatcher() - Method in interface com.github.fge.grappa.run.context.MatcherContext
 

S

saload() - Method in class com.github.fge.grappa.transform.CodeBlock
 
sastore() - Method in class com.github.fge.grappa.transform.CodeBlock
 
search(String, boolean) - Method in class com.github.fge.grappa.matchers.trie.Trie
Search for a string into this trie
search(String, boolean) - Method in class com.github.fge.grappa.matchers.trie.TrieNode
 
sequence(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a given set of rules, exactly once
sequence(Object[]) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a given set of rules, exactly once
SequenceMatcher - Class in com.github.fge.grappa.matchers.delegate
A Matcher that executes all of its submatchers in sequence and only succeeds if all submatchers succeed.
SequenceMatcher(Rule[]) - Constructor for class com.github.fge.grappa.matchers.delegate.SequenceMatcher
 
set(T) - Method in class com.github.fge.grappa.misc.Reference
Sets this references value object to the given instance.
setBodyRewritten() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
setClassCode(byte[]) - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
setContainsExplicitActions(boolean) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
setContainsImplicitActions(boolean) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
setContext(Context<V>) - Method in class com.github.fge.grappa.parsers.BaseActions
ContextAware interface implementation.
setContext(Context<V>) - Method in interface com.github.fge.grappa.run.context.ContextAware
Called immediately before any parser action method invocation.
setCurrentIndex(int) - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
setCurrentIndex(int) - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
setExtendedClass(Class<?>) - Method in class com.github.fge.grappa.transform.base.ParserClassNode
 
setGraphNode(AbstractInsnNode, BasicValue, List<BasicValue>) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
setGroup(InstructionGroup) - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
setGroupClassCode(byte[]) - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
setGroupClassType(Type) - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
setInstruction(AbstractInsnNode) - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
setIsActionRoot() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
setLabel(String) - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
setMatcher(Matcher) - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
setMatcher(Matcher) - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
setName(String) - Method in class com.github.fge.grappa.support.Var
Sets the name of this Var.
setName(String) - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
setReturnInstructionNode(InstructionGraphNode) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
setSkipInPredicates() - Method in class com.github.fge.grappa.transform.runtime.BaseAction
 
setStartIndex(int) - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
setStartIndex(int) - Method in interface com.github.fge.grappa.run.context.MatcherContext
 
sipush(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
size() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
size() - Method in interface com.github.fge.grappa.stack.ValueStack
Returns the number of elements currently on the stack.
SkipActionsInPredicates - Annotation Type in com.github.fge.grappa.annotations
Do not run actions in "predicate" rules (Test and TestNot)
skipInPredicates() - Method in interface com.github.fge.grappa.rules.SkippableAction
Determines whether the execution of this action is to be skipped in predicate matchers.
skipInPredicates() - Method in class com.github.fge.grappa.transform.runtime.BaseAction
 
SkippableAction<V> - Interface in com.github.fge.grappa.rules
An action that can optionally be skipped when run underneath a predicate matcher.
sp() - Method in class com.github.fge.grappa.parsers.BaseParser
SP as defined by RFC 5234, appendix B, section 1 (one space, 0x20)
stackSnapshot - Variable in class com.github.fge.grappa.run.AbstractParseRunner
 
start - Variable in class com.github.fge.grappa.support.IndexRange
The index of the first character in the range.
string(String) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a string literal
string(char...) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a given set of characters as a string literal
StringBuilderVar - Class in com.github.fge.grappa.support
Simple specialization of a Var for StringBuilders.
StringBuilderVar() - Constructor for class com.github.fge.grappa.support.StringBuilderVar
Initializes a new StringVar with a null initial value.
StringBuilderVar(StringBuilder) - Constructor for class com.github.fge.grappa.support.StringBuilderVar
Initializes a new StringBuilderVar with the given initial StringBuilder instance.
StringIgnoreCaseMatcher - Class in com.github.fge.grappa.matchers
A SequenceMatcher specialization for sequences of CharMatchers.
StringIgnoreCaseMatcher(String) - Constructor for class com.github.fge.grappa.matchers.StringIgnoreCaseMatcher
 
StringMatcher - Class in com.github.fge.grappa.matchers
A SequenceMatcher specialization for sequences of CharMatchers.
StringMatcher(String) - Constructor for class com.github.fge.grappa.matchers.StringMatcher
 
StringVar - Class in com.github.fge.grappa.support
Simple specialization of a Var for Strings.
StringVar() - Constructor for class com.github.fge.grappa.support.StringVar
Initializes a new StringVar with a null initial value.
StringVar(String) - Constructor for class com.github.fge.grappa.support.StringVar
Initializes a new StringVar with the given initial value.
SuperCallRewriter - Class in com.github.fge.grappa.transform.process
Replaces the method code with a simple call to the super method.
SuperCallRewriter() - Constructor for class com.github.fge.grappa.transform.process.SuperCallRewriter
 
swap() - Method in class com.github.fge.grappa.parsers.BaseActions
Swaps the top two elements of the value stack.
swap(int) - Method in class com.github.fge.grappa.parsers.BaseActions
Reverse the order of the top n elements of this context's value stack
swap(int) - Method in interface com.github.fge.grappa.stack.ValueStack
Reverses the order of the top n stack values
swap() - Method in interface com.github.fge.grappa.stack.ValueStack
Swaps the top two stack values.
swap(int) - Method in class com.github.fge.grappa.stack.ValueStackBase
 
swap() - Method in class com.github.fge.grappa.stack.ValueStackBase
 
swap() - Method in class com.github.fge.grappa.transform.CodeBlock
 
swap2() - Method in class com.github.fge.grappa.transform.CodeBlock
 

T

tableswitch(int, int, LabelNode, LabelNode[]) - Method in class com.github.fge.grappa.transform.CodeBlock
 
takeSnapshot() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
takeSnapshot() - Method in interface com.github.fge.grappa.stack.ValueStack
Returns an object representing the current state of the stack.
ternaryOperation(AbstractInsnNode, BasicValue, BasicValue, BasicValue) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
test(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Test a rule, but do not consume any input (predicate)
test(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Test a set of rules, but do not consume any input
TestMatcher - Class in com.github.fge.grappa.matchers.predicates
A special Matcher not actually matching any input but rather trying its submatcher against the current input position.
TestMatcher(Rule) - Constructor for class com.github.fge.grappa.matchers.predicates.TestMatcher
 
testNot(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Test, without consuming an input, that a rule does not match
testNot(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Test that a set of rules do not apply at this position
TestNotMatcher - Class in com.github.fge.grappa.matchers.predicates
A special Matcher not actually matching any input but rather trying its submatcher against the current input position.
TestNotMatcher(Rule) - Constructor for class com.github.fge.grappa.matchers.predicates.TestNotMatcher
 
times(int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Return a rule with an exact number of cycles to run
times(int, int) - Method in class com.github.fge.grappa.misc.RangeMatcherBuilder
Return a rule with both lower and upper bounds on the number of cycles
toPosition(int) - Method in class com.github.fge.grappa.buffers.LineCounter
 
toRule(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Converts the given object to a rule.
toRules(Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Converts the given object array to an array of rules.
toString() - Method in class com.github.fge.grappa.matchers.base.AbstractMatcher
 
toString() - Method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
 
toString() - Method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
toString() - Method in class com.github.fge.grappa.run.context.DefaultMatcherContext
 
toString() - Method in class com.github.fge.grappa.stack.DefaultValueStack
 
toString() - Method in class com.github.fge.grappa.support.Characters
 
toString() - Method in class com.github.fge.grappa.support.IndexRange
 
toString() - Method in class com.github.fge.grappa.support.Position
 
toString() - Method in class com.github.fge.grappa.support.Var
 
toString() - Method in class com.github.fge.grappa.transform.base.InstructionGraphNode
 
toString() - Method in class com.github.fge.grappa.transform.base.InstructionGroup
 
toString() - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
toString() - Method in class com.github.fge.grappa.transform.ClassCache
 
toString() - Method in class com.github.fge.grappa.transform.runtime.BaseGroupClass
 
touches(IndexRange) - Method in class com.github.fge.grappa.support.IndexRange
Determines whether this range immediated follows or precedes the given other one.
TracingListener<V> - Class in com.github.fge.grappa.run.trace
 
TracingListener(Path, boolean) - Constructor for class com.github.fge.grappa.run.trace.TracingListener
 
transformParser(Class<T>) - Static method in class com.github.fge.grappa.transform.ParserTransformer
 
Trie - Class in com.github.fge.grappa.matchers.trie
"User-facing" class of a TrieMatcher
trie(Collection<String>) - Method in class com.github.fge.grappa.parsers.BaseParser
Match one string among many using a trie
trie(String, String, String...) - Method in class com.github.fge.grappa.parsers.BaseParser
Match one string among many using a trie
TrieBuilder - Class in com.github.fge.grappa.matchers.trie
A builder for a Trie
trieIgnoreCase(Collection<String>) - Method in class com.github.fge.grappa.parsers.BaseParser
Match one string among many using a trie, case insensitive version
trieIgnoreCase(String, String, String...) - Method in class com.github.fge.grappa.parsers.BaseParser
Match one string among many using a trie, case insensitive
TrieMatcher - Class in com.github.fge.grappa.matchers.trie
The trie matcher
TrieMatcher(Trie) - Constructor for class com.github.fge.grappa.matchers.trie.TrieMatcher
 
TrieNode - Class in com.github.fge.grappa.matchers.trie
The core of the trie
TrieNodeBuilder - Class in com.github.fge.grappa.matchers.trie
A builder for a TrieNode tree
TrieNodeBuilder() - Constructor for class com.github.fge.grappa.matchers.trie.TrieNodeBuilder
 
trycatch(LabelNode, LabelNode, LabelNode, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
trycatch(String, Runnable, Runnable) - Method in class com.github.fge.grappa.transform.CodeBlock
 

U

unaryOperation(AbstractInsnNode, BasicValue) - Method in class com.github.fge.grappa.transform.RuleMethodInterpreter
 
unicodeChar(int) - Method in class com.github.fge.grappa.parsers.BaseParser
Match one Unicode character
unicodeRange(int, int) - Method in class com.github.fge.grappa.parsers.BaseParser
Match a Unicode character range
unregister(Object) - Method in class com.github.fge.grappa.parsers.ListeningParser
Unregister a listener from this parser's EventBus
UnusedLabelsRemover - Class in com.github.fge.grappa.transform.process
Removes all unused labels.
UnusedLabelsRemover() - Constructor for class com.github.fge.grappa.transform.process.UnusedLabelsRemover
 
unwrap(Matcher) - Static method in class com.github.fge.grappa.matchers.wrap.ProxyMatcher
Retrieves the innermost Matcher that is not a ProxyMatcher.
unwrap(Matcher) - Static method in class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
Retrieves the innermost Matcher that is not a VarFramingMatcher.
using(Object) - Method in class com.github.fge.grappa.matchers.join.JoinMatcherBootstrap
Define the joining rule
using(Object, Object, Object...) - Method in class com.github.fge.grappa.matchers.join.JoinMatcherBootstrap
Define the joining rule

V

ValueBuilder<T> - Interface in com.github.fge.grappa.helpers
A value builder for use in a parser
valueOf(String) - Static method in enum com.github.fge.grappa.matchers.MatcherType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.fge.grappa.transform.hash.FieldNodeFunnel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.fge.grappa.transform.hash.LdcInsnFunnel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.fge.grappa.transform.ParserAnnotation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.fge.grappa.matchers.MatcherType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.fge.grappa.transform.hash.FieldNodeFunnel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.fge.grappa.transform.hash.LdcInsnFunnel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.fge.grappa.transform.ParserAnnotation
Returns an array containing the constants of this enum type, in the order they are declared.
valueStack - Variable in class com.github.fge.grappa.run.AbstractParseRunner
 
ValueStack<V> - Interface in com.github.fge.grappa.stack
Stack implementation for use in parsers
ValueStackBase<V> - Class in com.github.fge.grappa.stack
Base abstract implementation of a ValueStack
ValueStackBase() - Constructor for class com.github.fge.grappa.stack.ValueStackBase
 
Var<T> - Class in com.github.fge.grappa.support
This class provides a "local variable"-like construct for action expressions in parser rule methods.
Var() - Constructor for class com.github.fge.grappa.support.Var
Initializes a new Var with a null initial value.
Var(T) - Constructor for class com.github.fge.grappa.support.Var
Initializes a new Var with the given initial value.
Var(Supplier<T>) - Constructor for class com.github.fge.grappa.support.Var
Initializes a new Var.
VarFramingGenerator - Class in com.github.fge.grappa.transform.process
Inserts code for wrapping the created rule into a VarFramingMatcher if the method contains local variables assignable to Var.
VarFramingGenerator() - Constructor for class com.github.fge.grappa.transform.process.VarFramingGenerator
 
VarFramingMatcher - Class in com.github.fge.grappa.matchers.wrap
Special wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.
VarFramingMatcher(Rule, Var<?>[]) - Constructor for class com.github.fge.grappa.matchers.wrap.VarFramingMatcher
 
VarInitClassGenerator - Class in com.github.fge.grappa.transform.generate
 
VarInitClassGenerator(boolean) - Constructor for class com.github.fge.grappa.transform.generate.VarInitClassGenerator
 
vchar() - Method in class com.github.fge.grappa.parsers.BaseParser
VCHAR as defined by RFC 5234, appendix B, section 1: ASCII "visible"
visit(int, int, String, String, String, String[]) - Method in class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
visitAnnotation(String, boolean) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitAnnotation(String, boolean) - Method in class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
visitEnd() - Method in class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
visitFieldInsn(int, String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitFieldInsn(int, String, String, String) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitFrame(int, int, Object[], int, Object[]) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitIincInsn(int, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitIincInsn(int, int) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitInsn(int) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitInsn(int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitInsn(int) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitInsnNode(int, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitIntInsn(int, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitIntInsn(int, int) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitJumpInsn(int, Label) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitJumpInsn(int, LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitJumpInsn(int, Label) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitLabel(Label) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitLabel(Label) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitLdcInsn(Object) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitLdcInsn(Object) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitLineNumber(int, Label) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitLineNumber(int, LabelNode) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitLocalVariable(String, String, String, LabelNode, LabelNode, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitLookupSwitchInsn(LabelNode, int[], LabelNode[]) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitMethod(int, String, String, String, String[]) - Method in class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
visitMethodInsn(int, String, String, String, boolean) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitMethodInsn(int, String, String, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitMethodInsn(int, String, String, String, boolean) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitMultiANewArrayInsn(String, int) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitMultiANewArrayInsn(String, int) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitSource(String, String) - Method in class com.github.fge.grappa.transform.generate.ClassNodeInitializer
 
visitTableSwitchInsn(int, int, Label, Label[]) - Method in class com.github.fge.grappa.transform.base.RuleMethod
 
visitTableSwitchInsn(int, int, LabelNode, LabelNode[]) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitTryCatchBlock(LabelNode, LabelNode, LabelNode, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitTypeInsn(int, String) - Method in class com.github.fge.grappa.transform.CodeBlock
 
visitTypeInsn(int, String) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
visitVarInsn(int, int) - Method in class com.github.fge.grappa.transform.hash.InstructionGroupHasher
 
voidreturn() - Method in class com.github.fge.grappa.transform.CodeBlock
 

W

wsp() - Method in class com.github.fge.grappa.parsers.BaseParser
WSP as defined by RFC 5234, appendix B, section 1: space or tab

Z

zeroOrMore(Object) - Method in class com.github.fge.grappa.parsers.BaseParser
Try and match a rule zero or more times
zeroOrMore(Object, Object, Object...) - Method in class com.github.fge.grappa.parsers.BaseParser
Try and match a set of rules zero or more times
A B C D E F G H I J L M N O P R S T U V W Z