OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:grammarFileName
(Results
1 - 25
of
65
) sorted by null
1
2
3
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/
depend.stg
9
dependencies(
grammarFileName
,in,out) ::= <<
10
<if(in)><
grammarFileName
>: <in; separator=", "><endif>
11
<out:{f | <f> : <
grammarFileName
>}; separator="\n">
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
Tracer.cs
58
override public void EnterRule(string
grammarFileName
, string ruleName)
64
Console.Out.WriteLine("> " +
grammarFileName
+ " " + ruleName + " lookahead(1)=" + GetInputSymbol(1));
68
override public void ExitRule(string
grammarFileName
, string ruleName)
75
Console.Out.WriteLine("< " +
grammarFileName
+ " " + ruleName + " lookahead(1)=" + GetInputSymbol(1));
IDebugEventListener.cs
53
* The
grammarFileName
allows composite grammars to jump around among
57
void EnterRule(string
grammarFileName
, string ruleName);
71
* The
grammarFileName
allows composite grammars to jump around among
75
void ExitRule(string
grammarFileName
, string ruleName);
DebugEventRepeater.cs
56
public virtual void EnterRule(string
grammarFileName
, string ruleName) {
57
_listener.EnterRule(
grammarFileName
, ruleName);
59
public virtual void ExitRule(string
grammarFileName
, string ruleName) {
60
_listener.ExitRule(
grammarFileName
, ruleName);
BlankDebugEventListener.cs
49
public virtual void EnterRule(string
grammarFileName
, string ruleName) {
54
public virtual void ExitRule(string
grammarFileName
, string ruleName) {
DebugEventSocketProxy.cs
58
protected string
grammarFileName
;
78
this.
grammarFileName
= recognizer.
GrammarFileName
;
104
socket.Send(encoding.GetBytes("grammar \"" +
grammarFileName
+ "\n"));
117
//@out.println( "grammar \"" +
grammarFileName
);
153
public override void EnterRule(string
grammarFileName
, string ruleName) {
154
Transmit("enterRule\t" +
grammarFileName
+ "\t" + ruleName);
161
public override void ExitRule(string
grammarFileName
, string ruleName) {
162
Transmit("exitRule\t" +
grammarFileName
+ "\t" + ruleName);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Interp.java
69
String
grammarFileName
= args[0];
77
Grammar parser = new Grammar(tool,
grammarFileName
, composite);
79
FileReader fr = new FileReader(
grammarFileName
);
101
lexer.fileName =
grammarFileName
;
107
System.err.println("no lexer grammar found in "+
grammarFileName
);
122
System.err.println("Rule "+startRule+" does not exist in "+
grammarFileName
);
GrammarSpelunker.java
48
protected String
grammarFileName
;
60
public GrammarSpelunker(String inputDirectory, String
grammarFileName
) {
62
this.
grammarFileName
=
grammarFileName
;
70
else throw new Error("Error parsing "+
grammarFileName
+": '"+token+
75
Reader r = new FileReader((inputDirectory != null ? inputDirectory + File.separator : "") +
grammarFileName
);
RandomPhrase.java
145
String
grammarFileName
= args[0];
157
Grammar parser = new Grammar(tool,
grammarFileName
, composite);
160
FileReader fr = new FileReader(
grammarFileName
);
182
lexer.fileName =
grammarFileName
;
187
System.err.println("no lexer grammar found in "+
grammarFileName
);
221
System.err.println("Error walking "+
grammarFileName
+" rule "+startRule+" seed "+seed);
225
System.err.println("Exception walking "+
grammarFileName
+" rule "+startRule+" seed "+seed);
BuildDependencyGenerator.java
78
protected String
grammarFileName
;
85
public BuildDependencyGenerator(Tool tool, String
grammarFileName
)
88
this.
grammarFileName
=
grammarFileName
;
89
grammar = tool.getRootGrammar(
grammarFileName
);
100
File outputDir = tool.getOutputDirectory(
grammarFileName
);
207
dependenciesST.add("
grammarFileName
", grammar.fileName);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugEventRepeater.java
49
public void enterRule(String
grammarFileName
, String ruleName) { listener.enterRule(
grammarFileName
, ruleName); }
50
public void exitRule(String
grammarFileName
, String ruleName) { listener.exitRule(
grammarFileName
, ruleName); }
BlankDebugEventListener.java
38
public void enterRule(String
grammarFileName
, String ruleName) {}
39
public void exitRule(String
grammarFileName
, String ruleName) {}
DebugEventListener.java
53
* The
grammarFileName
allows composite grammars to jump around among
56
public void enterRule(String
grammarFileName
, String ruleName);
67
* The
grammarFileName
allows composite grammars to jump around among
70
public void exitRule(String
grammarFileName
, String ruleName);
DebugEventSocketProxy.java
50
protected String
grammarFileName
;
68
this.
grammarFileName
= recognizer.getGrammarFileName();
85
out.println("grammar \""+
grammarFileName
);
121
public void enterRule(String
grammarFileName
, String ruleName) {
122
transmit("enterRule\t"+
grammarFileName
+"\t"+ruleName);
129
public void exitRule(String
grammarFileName
, String ruleName) {
130
transmit("exitRule\t"+
grammarFileName
+"\t"+ruleName);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Debug/
IDebugEventListener.cs
55
* The
grammarFileName
allows composite grammars to jump around among
59
void EnterRule( string
grammarFileName
, string ruleName );
73
* The
grammarFileName
allows composite grammars to jump around among
77
void ExitRule( string
grammarFileName
, string ruleName );
/external/antlr/antlr-3.4/runtime/C/include/
antlr3debugeventlistener.h
80
pANTLR3_STRING
grammarFileName
;
106
void (*enterRule) (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char *
grammarFileName
, const char * ruleName);
118
void (*exitRule) (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char *
grammarFileName
, const char * ruleName);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DebugEventRepeater.cs
60
public virtual void EnterRule( string
grammarFileName
, string ruleName )
62
_listener.EnterRule(
grammarFileName
, ruleName );
64
public virtual void ExitRule( string
grammarFileName
, string ruleName )
66
_listener.ExitRule(
grammarFileName
, ruleName );
BlankDebugEventListener.cs
53
public virtual void EnterRule( string
grammarFileName
, string ruleName )
59
public virtual void ExitRule( string
grammarFileName
, string ruleName )
DebugEventSocketProxy.cs
58
protected string
grammarFileName
;
80
this.
grammarFileName
= recognizer.
GrammarFileName
;
111
socket.Send( encoding.GetBytes( "grammar \"" +
grammarFileName
+ "\n" ) );
124
//@out.println( "grammar \"" +
grammarFileName
);
170
public override void EnterRule( string
grammarFileName
, string ruleName )
172
Transmit( "enterRule\t" +
grammarFileName
+ "\t" + ruleName );
180
public override void ExitRule( string
grammarFileName
, string ruleName )
182
Transmit( "exitRule\t" +
grammarFileName
+ "\t" + ruleName );
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
Tool.java
366
* @param
grammarFileName
The grammar file we are checking
368
public boolean buildRequired(String
grammarFileName
)
372
new BuildDependencyGenerator(this,
grammarFileName
);
379
grammarFile = new File(inputDirectory,
grammarFileName
);
382
grammarFile = new File(
grammarFileName
);
429
for (String
grammarFileName
: grammarFileNames) {
435
if ( !buildRequired(
grammarFileName
) ) continue;
443
System.out.println(
grammarFileName
);
448
new BuildDependencyGenerator(this,
grammarFileName
);
459
Grammar rootGrammar = getRootGrammar(
grammarFileName
);
[
all
...]
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
Antlr3Mojo.java
479
* @param
grammarFileName
The full path to the input grammar file
482
private String findSourceSubdir(File sourceDirectory, String
grammarFileName
) {
485
if (!
grammarFileName
.startsWith(srcPath)) {
486
throw new IllegalArgumentException("expected " +
grammarFileName
+ " to be prefixed with " + sourceDirectory);
489
File unprefixedGrammarFileName = new File(
grammarFileName
.substring(srcPath.length()));
/external/antlr/antlr-3.4/runtime/C/src/
antlr3debughandlers.c
56
static void enterRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char *
grammarFileName
, const char * ruleName);
58
static void exitRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char *
grammarFileName
, const char * ruleName);
312
sprintf (message, "grammar \"%s\n", delboy->
grammarFileName
->chars);
428
delboy->tokenString = delboy->
grammarFileName
->factory->newSize(delboy->
grammarFileName
->factory, 64);
477
delboy->tokenString = delboy->
grammarFileName
->factory->newSize(delboy->
grammarFileName
->factory, 64);
548
enterRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char *
grammarFileName
, const char * ruleName)
554
sprintf(buffer, "enterRule\t%s\t%s\n",
grammarFileName
, ruleName);
570
exitRule (pANTLR3_DEBUG_EVENT_LISTENER delboy, const char *
grammarFileName
, const char * ruleName
[
all
...]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRBaseRecognizer.h
56
NSString *
grammarFileName
; // where did the grammar come from. filled in by codegeneration
64
@property (retain, getter=getGrammarFileName, setter=setGrammarFileName) NSString *
grammarFileName
;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRBaseRecognizer.h
56
NSString *
grammarFileName
; // where did the grammar come from. filled in by codegeneration
64
@property (retain, getter=getGrammarFileName, setter=setGrammarFileName) NSString *
grammarFileName
;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRBaseRecognizer.h
56
NSString *
grammarFileName
; // where did the grammar come from. filled in by codegeneration
64
@property (retain, getter=getGrammarFileName, setter=setGrammarFileName) NSString *
grammarFileName
;
Completed in 2190 milliseconds
1
2
3