Uses of Interface
org.antlr.misc.IntSet
Packages that use IntSet
Package
Description
-
Uses of IntSet in org.antlr.analysis
Fields in org.antlr.analysis declared as IntSetModifier and TypeFieldDescriptionprotected IntSet
Label.labelSet
A set of token types or character codes if label==SETDFA.recursiveAltSet
Track whether an alt discovers recursion for each alt during NFA to DFA conversion; >1 alt with recursion implies nonregular.Methods in org.antlr.analysis that return IntSetMethods in org.antlr.analysis with parameters of type IntSetModifier and TypeMethodDescriptionboolean
void
Constructors in org.antlr.analysis with parameters of type IntSet -
Uses of IntSet in org.antlr.codegen
Methods in org.antlr.codegen with parameters of type IntSetModifier and TypeMethodDescriptionorg.antlr.stringtemplate.StringTemplate
CodeGenerator.genSetExpr
(org.antlr.stringtemplate.StringTemplateGroup templates, IntSet set, int k, boolean partOfDFA) For intervals such as [3..3, 30..35], generate an expression that tests the lookahead similar to LA(1)==3 || (LA(1)>=30&&LA(1)<=35) -
Uses of IntSet in org.antlr.grammar.v2
Methods in org.antlr.grammar.v2 that return IntSetModifier and TypeMethodDescriptionfinal IntSet
TreeToNFAConverter.setRule
(antlr.collections.AST _t) Methods in org.antlr.grammar.v2 with parameters of type IntSetModifier and TypeMethodDescriptionfinal void
TreeToNFAConverter.setElement
(antlr.collections.AST _t, IntSet elements) -
Uses of IntSet in org.antlr.misc
Classes in org.antlr.misc that implement IntSetModifier and TypeClassDescriptionclass
A BitSet to replace java.util.BitSet.class
A set of integers that relies on ranges being common to do "run-length-encoded" like compression (if you view an IntSet like a BitSet with runs of 0s and 1s).Methods in org.antlr.misc that return IntSetModifier and TypeMethodDescriptionReturn a new set with the intersection of this set with other.Return the intersection of this set with the argument, creating a new set.BitSet.complement()
BitSet.complement
(IntSet set) IntervalSet.complement
(int minElement, int maxElement) IntervalSet.complement
(IntSet vocabulary) Given the set of possible values (rather than, say UNICODE or MAXINT), return a new set containing all elements in vocabulary, but not in this.IntSet.complement
(IntSet elements) return this | a in a new setTODO: implement this!Compute this-other via this&~other.Methods in org.antlr.misc with parameters of type IntSetModifier and TypeMethodDescriptionvoid
void
void
Add all elements from incoming set to this set.Return a new set with the intersection of this set with other.Return the intersection of this set with the argument, creating a new set.BitSet.complement
(IntSet set) IntervalSet.complement
(IntSet vocabulary) Given the set of possible values (rather than, say UNICODE or MAXINT), return a new set containing all elements in vocabulary, but not in this.IntSet.complement
(IntSet elements) static BitSet
return this | a in a new setTODO: implement this!Compute this-other via this&~other. -
Uses of IntSet in org.antlr.tool
Fields in org.antlr.tool declared as IntSetModifier and TypeFieldDescriptionprotected IntSet
Grammar.charVocabulary
TODO: hook this to the charVocabulary optionprotected IntSet
GrammarAST.setValue
If this is a SET node, what are the elements?Methods in org.antlr.tool that return IntSetModifier and TypeMethodDescriptionGrammar.complement
(int atom) Grammar.complement
(IntSet set) For lexer grammars, return everything in unicode not in set.Grammar.getAllCharValues()
If there is a char vocabulary, use it; else return min to max char as defined by the target.protected IntSet
NFAFactory.getCollapsedBlockAsSet
(State blk) Given a collapsed block of alts (a set of atoms), pull out the set and return it.Grammar.getSetFromRule
(TreeToNFAConverter nfabuilder, String ruleName) Get the set equivalent (if any) of the indicated rule from this grammar.GrammarAST.getSetValue()
Grammar.getTokenTypes()
Return a set of all possible token or char types for this grammarMethods in org.antlr.tool with parameters of type IntSetModifier and TypeMethodDescriptionNFAFactory.build_Set
(IntSet set, GrammarAST associatedAST) From set build single edge graph o->o-set->o.Grammar.complement
(IntSet set) For lexer grammars, return everything in unicode not in set.void
GrammarAST.setSetValue
(IntSet setValue)