Uses of Interface
org.antlr.misc.IntSet

Packages that use IntSet
org.antlr.analysis   
org.antlr.codegen   
org.antlr.grammar.v3   
org.antlr.misc   
org.antlr.tool   
 

Uses of IntSet in org.antlr.analysis
 

Fields in org.antlr.analysis declared as IntSet
protected  IntSet Label.labelSet
          A set of token types or character codes if label==SET
 IntSet DFA.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 IntSet
 IntSet Label.getSet()
           
 

Methods in org.antlr.analysis that return types with arguments of type IntSet
 List<IntSet> MachineProbe.getEdgeLabels(DFAState targetState)
          Return a list of edge labels from start state to targetState.
 

Methods in org.antlr.analysis with parameters of type IntSet
 boolean Label.matches(IntSet set)
           
 void Label.setSet(IntSet set)
           
 

Method parameters in org.antlr.analysis with type arguments of type IntSet
 List<Token> MachineProbe.getGrammarLocationsForInputSequence(List<Set<NFAState>> nfaStates, List<IntSet> labels)
          Given an alternative associated with a DFA state, return the list of tokens (from grammar) associated with path through NFA following the labels sequence.
 String MachineProbe.getInputSequenceDisplay(Grammar g, List<IntSet> labels)
          Given List, return a String with a useful representation of the associated input string.
 

Constructors in org.antlr.analysis with parameters of type IntSet
Label(IntSet labelSet)
          Make a set label
LookaheadSet(IntSet s)
           
 

Uses of IntSet in org.antlr.codegen
 

Methods in org.antlr.codegen with parameters of type IntSet
 org.stringtemplate.v4.ST CodeGenerator.genSetExpr(org.stringtemplate.v4.STGroup 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.v3
 

Methods in org.antlr.grammar.v3 that return IntSet
 IntSet TreeToNFAConverter.setRule()
           
 IntSet TreeToNFAConverter.setRule(GrammarAST t)
           
 

Methods in org.antlr.grammar.v3 with parameters of type IntSet
 void TreeToNFAConverter.setElement(IntSet elements)
           
 

Uses of IntSet in org.antlr.misc
 

Classes in org.antlr.misc that implement IntSet
 class BitSet
          A BitSet to replace java.util.BitSet.
 class IntervalSet
          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 IntSet
 IntSet BitSet.and(IntSet a)
           
 IntSet IntervalSet.and(IntSet other)
          Return a new set with the intersection of this set with other.
 IntSet IntSet.and(IntSet a)
          Return the intersection of this set with the argument, creating a new set.
 IntSet BitSet.complement()
           
 IntSet IntervalSet.complement(int minElement, int maxElement)
           
 IntSet BitSet.complement(IntSet set)
           
 IntSet 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 IntSet.complement(IntSet elements)
           
 IntSet BitSet.or(IntSet a)
          return this | a in a new set
 IntSet IntervalSet.or(IntSet a)
          TODO: implement this!
 IntSet IntSet.or(IntSet a)
           
 IntSet BitSet.subtract(IntSet a)
           
 IntSet IntervalSet.subtract(IntSet other)
          Compute this-other via this&~other.
 IntSet IntSet.subtract(IntSet a)
           
 

Methods in org.antlr.misc with parameters of type IntSet
 void BitSet.addAll(IntSet set)
           
 void IntervalSet.addAll(IntSet set)
           
 void IntSet.addAll(IntSet set)
          Add all elements from incoming set to this set.
 IntSet BitSet.and(IntSet a)
           
 IntSet IntervalSet.and(IntSet other)
          Return a new set with the intersection of this set with other.
 IntSet IntSet.and(IntSet a)
          Return the intersection of this set with the argument, creating a new set.
 IntSet BitSet.complement(IntSet set)
           
 IntSet 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 IntSet.complement(IntSet elements)
           
static BitSet BitSet.of(IntSet set)
           
 IntSet BitSet.or(IntSet a)
          return this | a in a new set
 IntSet IntervalSet.or(IntSet a)
          TODO: implement this!
 IntSet IntSet.or(IntSet a)
           
 IntSet BitSet.subtract(IntSet a)
           
 IntSet IntervalSet.subtract(IntSet other)
          Compute this-other via this&~other.
 IntSet IntSet.subtract(IntSet a)
           
 

Uses of IntSet in org.antlr.tool
 

Fields in org.antlr.tool declared as IntSet
protected  IntSet Grammar.charVocabulary
          TODO: hook this to the charVocabulary option
protected  IntSet GrammarAST.setValue
          If this is a SET node, what are the elements?
 

Methods in org.antlr.tool that return IntSet
 IntSet Grammar.complement(int atom)
           
 IntSet Grammar.complement(IntSet set)
          For lexer grammars, return everything in unicode not in set.
 IntSet 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.
 IntSet Grammar.getSetFromRule(TreeToNFAConverter nfabuilder, String ruleName)
          Get the set equivalent (if any) of the indicated rule from this grammar.
 IntSet GrammarAST.getSetValue()
           
 IntSet Grammar.getTokenTypes()
          Return a set of all possible token or char types for this grammar
 

Methods in org.antlr.tool with parameters of type IntSet
 StateCluster NFAFactory.build_Set(IntSet set, GrammarAST associatedAST)
          From set build single edge graph o->o-set->o.
 IntSet Grammar.complement(IntSet set)
          For lexer grammars, return everything in unicode not in set.
 void GrammarAST.setSetValue(IntSet setValue)
           
 



Copyright © 2011. All Rights Reserved.