OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:grammarType
(Results
1 - 9
of
9
) sorted by null
/external/antlr/antlr-3.4/runtime/Python/tests/
testbase.py
114
self.
grammarType
= None
202
self.
grammarType
= m.group(2)
203
if self.
grammarType
is None:
204
self.
grammarType
= 'combined'
206
if self.
grammarType
is None:
207
assert self.
grammarType
in ('lexer', 'parser', 'tree', 'combined'), self.
grammarType
314
if self.
grammarType
== 'lexer':
331
if self.
grammarType
== 'parser':
368
grammarType
= m.group(2
[
all
...]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
ANTLRv3Tree.g
42
: ^(
grammarType
ID DOC_COMMENT? optionsSpec? tokensSpec? attrScope* action* rule+ )
45
grammarType
ANTLR.g
254
private int
grammarType
;
266
return
grammarType
;
270
grammarType
= value;
337
!(
grammarType
== Grammar.COMBINED &&
427
if (
grammarType
== Grammar.LEXER )
454
gr=
grammarType
gid=id {grammar.setName($gid.text);} SEMI
466
grammarType
467
: ( 'lexer' gr='grammar' {
grammarType
=Grammar.LEXER; grammar.type = Grammar.LEXER;} // pure lexer
469
| 'parser' gr='grammar' {
grammarType
=Grammar.PARSER; grammar.type = Grammar.PARSER;} // pure parser
471
| 'tree' gr='grammar' {
grammarType
=Grammar.TREE_PARSER; grammar.type = Grammar.TREE_PARSER;} // a tree parse
[
all
...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CTarget.java
88
public boolean isValidActionScope(int
grammarType
, String scope) {
89
switch (
grammarType
) {
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
SerializedGrammar.java
102
char
grammarType
= (char)in.readByte();
103
this.type =
grammarType
;
106
System.out.println(
grammarType
+" grammar "+grammarName);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Grammar.java
[
all
...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
C.stg
759
/** Symbolic definitions of all the tokens that the <
grammarType
()> will work with.
810
grammarType
() ::= <<
[
all
...]
/external/antlr/antlr-3.4/lib/
antlr-3.4-complete.jar
/prebuilts/misc/common/antlr/
antlr-3.4-complete.jar
Completed in 193 milliseconds