Searched refs:vocabulary (Results 1 - 9 of 9) sorted by relevance

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestIntervalSet.java101 IntervalSet vocabulary = IntervalSet.of(1,1000);
102 vocabulary.add(2000,3000);
105 String result = (s.complement(vocabulary)).toString();
110 IntervalSet vocabulary = IntervalSet.of(1,1000);
115 String result = (s.complement(vocabulary)).toString();
120 IntervalSet vocabulary = IntervalSet.of(1,1000);
123 String result = (s.complement(vocabulary)).toString();
128 IntervalSet vocabulary = IntervalSet.of(1,2);
131 String result = (s.complement(vocabulary)).toString();
136 IntervalSet vocabulary
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DBitSet.java502 * ith element of vocabulary is displayed instead. Vocabulary is a Vector
507 public String toString(String separator, List vocabulary) { argument
508 if (vocabulary == null) {
517 if (i >= vocabulary.size()) {
520 else if (vocabulary.get(i) == null) {
524 str += (String)vocabulary.get(i);
H A DIntervalSet.java210 * return a new set containing all elements in vocabulary, but not in
211 * this. The computation is (vocabulary - this).
213 * 'this' is assumed to be either a subset or equal to vocabulary.
215 public IntSet complement(IntSet vocabulary) { argument
216 if ( vocabulary==null ) {
219 if ( !(vocabulary instanceof IntervalSet ) ) {
221 vocabulary.getClass().getName()+")");
223 IntervalSet vocabularyIS = ((IntervalSet)vocabulary);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DBitSet.js627 * @param {Array} [vocabulary] array from which the i-th value will be
679 * ith element of vocabulary is displayed instead. Vocabulary is a Vector
685 toString2: function(separator, vocabulary) {
693 if (i >= vocabulary.size()) {
696 else if (!org.antlr.lang.isValue(vocabulary.get(i))) {
700 str += vocabulary.get(i);
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Drecognizers.rb1233 A grammar defines the vocabulary and the sentence structure of a language. While
1234 a lexer concerns the basic vocabulary symbols of the language, a parser's
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
H A Den.stg45 problem reading token vocabulary file <arg>: <exception>
63 "problems parsing token vocabulary file <arg> on line <arg2>"
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammar.java2210 * When you import a grammar you implicitly import its vocabulary as well
2410 * char vocabulary, compute an ANTLR-valid (possibly escaped) char literal.
2933 /** If there is a char vocabulary, use it; else return min to max char
2984 //System.out.println("vocabulary "+getTokenTypes().toString(this));
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.pas1100 /// Lexers can normally Match any char in it's vocabulary after matching

Completed in 381 milliseconds