Home
last modified time | relevance | path

Searched refs:execParser (Results 1 – 25 of 29) sorted by relevance

12

/external/antlr/tool/src/test/java/org/antlr/test/
DTestAutoAST.java46 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenList()
59 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenListInSingleAltBlock()
72 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleRootAtOuterLevel()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSimpleRootAtOuterLevelReverse()
98 String found = execParser("T.g", grammar, "TParser", "TLexer", in testBang()
111 String found = execParser("T.g", grammar, "TParser", "TLexer", in testOptionalThenRoot()
124 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledStringRoot()
137 String found = execParser("T.g", grammar, "TParser", "TLexer", in testWildcard()
150 String found = execParser("T.g", grammar, "TParser", "TLexer", in testWildcardRoot()
163 String found = execParser("T.g", grammar, "TParser", "TLexer", in testWildcardRootWithLabel()
[all …]
DTestRewriteAST.java51 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete()
64 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleToken()
77 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNode()
90 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNodeRoot()
104 String found = execParser("TT.g", grammar, "TTParser", "TTLexer", in testSingleTokenToNewNode2()
117 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleCharLiteral()
130 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleStringLiteral()
144 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleRule()
157 String found = execParser("T.g", grammar, "TParser", "TLexer", in testReorderTokens()
171 String found = execParser("T.g", grammar, "TParser", "TLexer", in testReorderTokenAndRule()
[all …]
DTestSets.java51 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSeqDoesNotBecomeSet()
60 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserSet()
69 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotSet()
78 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotToken()
87 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotTokenWithLabel()
96 String found = execParser("T.g", grammar, "TParser", "TLexer", in testRuleAsSet()
106 String found = execParser("T.g", grammar, "TParser", "TLexer", in testRuleAsSetAST()
116 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNotChar()
126 String found = execParser("T.g", grammar, "TParser", "TLexer", in testOptionalSingleElement()
136 String found = execParser("T.g", grammar, "TParser", "TLexer", in testOptionalLexerSingleElement()
[all …]
DTestSyntacticPredicateEvaluation.java55 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
64 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
72 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
104 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
113 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
121 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
142 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerPred()
147 found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerPred()
164 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerWithPredLongerThanAlt()
169 found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerWithPredLongerThanAlt()
[all …]
DTestSemanticPredicateEvaluation.java41 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithPredicate()
53 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithInstanceVarPredicate()
69 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testPredicateValidation()
81 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds()
94 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds2()
109 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch()
121 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch2()
133 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch3()
144 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch4()
156 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredsInCyclicDFA()
[all …]
DTestHeteroAST.java52 String found = execParser("T.g", grammar, "TParser", "TLexer", in testToken()
64 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenCommonTree()
81 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithQualifiedType()
98 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedType()
116 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithLabel()
133 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithListLabel()
150 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenRoot()
167 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenRootWithListLabel()
184 String found = execParser("T.g", grammar, "TParser", "TLexer", in testString()
201 String found = execParser("T.g", grammar, "TParser", "TLexer", in testStringRoot()
[all …]
DTestLexer.java53 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSetText()
67 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetTokenNorEmitAnother()
81 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetChannel()
94 String found = execParser("P.g", grammar, "PParser", "PLexer", in testWeCanSetType()
108 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToFragment()
122 String found = execParser("P.g", grammar, "PParser", "PLexer", in testMultipleRefToFragment()
135 String found = execParser("P.g", grammar, "PParser", "PLexer", in testLabelInSubrule()
147 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToTokenInLexer()
159 String found = execParser("P.g", grammar, "PParser", "PLexer", in testListLabelInLexer()
171 String found = execParser("P.g", grammar, "PParser", "PLexer", in testDupListRefInLexer()
[all …]
DTestRewriteTemplates.java48 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete()
61 String found = execParser("T.g", grammar, "TParser", "TLexer", in testAction()
74 String found = execParser("T.g", grammar, "TParser", "TLexer", in testEmbeddedLiteralConstructor()
87 String found = execParser("T.g", grammar, "TParser", "TLexer", in testInlineTemplate()
102 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedTemplate()
117 String found = execParser("T.g", grammar, "TParser", "TLexer", in testIndirectTemplate()
130 String found = execParser("T.g", grammar, "TParser", "TLexer", in testInlineTemplateInvokingLib()
147 String found = execParser("T.g", grammar, "TParser", "TLexer", in testPredicatedAlts()
161 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTemplateReturn()
175 String found = execParser("T.g", grammar, "TParser", "TLexer", in testReturnValueWithTemplate()
[all …]
DTestSyntaxErrors.java47 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "ae", false); in testLL2()
61 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "abe", false); in testLL3()
74 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "aaae", false); in testLLStar()
91 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "((i))z", false); in testSynPred()
113 …String result = execParser("T.g", grammar, "TParser", "TLexer", "start", "dog and software", false… in testLL1ErrorInfo()
DTestJavaCodeGeneration.java75 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledSetsInLexer()
87 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledRangeInLexer()
99 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledWildcardInLexer()
DTestCompositeGrammars.java63 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesDelegateRule()
83 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesDelegateRuleWithArgs()
103 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesDelegateRuleWithReturnStruct()
122 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorAccessesDelegateMembers()
144 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesFirstVersionOfDelegateRule()
181 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatesSeeSameTokenType()
511 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorRuleOverridesDelegate()
536 String found = execParser("Java.g", master, "JavaParser", "JavaLexer", in testDelegatorRuleOverridesLookaheadInDelegate()
560 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorRuleOverridesDelegates()
692 String found = execParser("M.g", master, "MParser", "MLexer", in testSyntacticPredicateRulesAreNotInherited()
[all …]
DTestLeftRecursion.java22 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSimple()
37 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSemPred()
/external/antlr/runtime/Python/tests/
Dt058rewriteAST.py64 def execParser(self, grammar, grammarEntry, input, expectErrors=False): member in TestRewriteAST
123 found = self.execParser(grammar, "a", "abc 34")
138 found = self.execParser(grammar, "a", "abc")
153 found = self.execParser(grammar, "a", "abc")
168 found = self.execParser(grammar, "a", "abc")
184 found = self.execParser(grammar, "a", "abc")
199 found = self.execParser(grammar, "a", "c")
214 found = self.execParser(grammar, "a", "ick")
230 found = self.execParser(grammar, "a", "abc")
245 found = self.execParser(grammar, "a", "abc 34")
[all …]
Dt057autoAST.py64 def execParser(self, grammar, grammarEntry, input, expectErrors=False): member in TestAutoAST
123 found = self.execParser(grammar, "a", "abc 34")
138 found = self.execParser(grammar,"a", "abc 34")
153 found = self.execParser(grammar, "a", "abc 34")
168 found = self.execParser(grammar, "a", "34 abc")
183 found = self.execParser(grammar, "a", "abc 34 dag 4532")
198 found = self.execParser(grammar, "a", "a 1 b")
213 found = self.execParser(grammar, "a", "void foo;")
228 found = self.execParser(grammar, "a", "void foo;")
243 found = self.execParser(grammar, "a", "void foo;")
[all …]
Dt053hetero.py63 def execParser(self, grammar, grammarEntry, input): member in T
120 found = self.execParser(
141 found = self.execParser(
167 found = self.execParser(
194 found = self.execParser(grammar, 'a', input="a")
218 found = self.execParser(
246 found = self.execParser(
274 found = self.execParser(
302 found = self.execParser(
330 found = self.execParser(
[all …]
Dt055templates.py12 def execParser(self, grammar, grammarEntry, input, group=None): member in T
45 found = self.execParser(
85 found = self.execParser(
111 found = self.execParser(
140 found = self.execParser(
164 found = self.execParser(
188 found = self.execParser(
216 found = self.execParser(
256 found = self.execParser(
287 found = self.execParser(
[all …]
Dt059debug.py74 def execParser(self, grammar, grammarEntry, input, listener, member in T
114 self.execParser(
149 debugger = self.execParser(
184 debugger = self.execParser(
229 debugger = self.execParser(
268 debugger = self.execParser(
343 debugger = self.execParser(
418 debugger = self.execParser(
462 debugger = self.execParser(
520 debugger = self.execParser(
[all …]
Dt052import.py72 def execParser(self, grammar, grammarEntry, slaves, input): member in T
157 found = self.execParser(
213 found = self.execParser(
250 found = self.execParser(
299 found = self.execParser(
351 found = self.execParser(
699 found = self.execParser(
Dt056lexer.py14 def execParser(self, grammar, grammarEntry, input): member in T
40 found = self.execParser(
/external/antlr/runtime/Python3/tests/
Dt058rewriteAST.py64 def execParser(self, grammar, grammarEntry, input, expectErrors=False): member in TestRewriteAST
123 found = self.execParser(grammar, "a", "abc 34")
138 found = self.execParser(grammar, "a", "abc")
153 found = self.execParser(grammar, "a", "abc")
168 found = self.execParser(grammar, "a", "abc")
184 found = self.execParser(grammar, "a", "abc")
199 found = self.execParser(grammar, "a", "c")
214 found = self.execParser(grammar, "a", "ick")
230 found = self.execParser(grammar, "a", "abc")
245 found = self.execParser(grammar, "a", "abc 34")
[all …]
Dt057autoAST.py64 def execParser(self, grammar, grammarEntry, input, expectErrors=False): member in TestAutoAST
123 found = self.execParser(grammar, "a", "abc 34")
138 found = self.execParser(grammar,"a", "abc 34")
153 found = self.execParser(grammar, "a", "abc 34")
168 found = self.execParser(grammar, "a", "34 abc")
183 found = self.execParser(grammar, "a", "abc 34 dag 4532")
198 found = self.execParser(grammar, "a", "a 1 b")
213 found = self.execParser(grammar, "a", "void foo;")
228 found = self.execParser(grammar, "a", "void foo;")
243 found = self.execParser(grammar, "a", "void foo;")
[all …]
Dt053hetero.py63 def execParser(self, grammar, grammarEntry, input): member in T
120 found = self.execParser(
141 found = self.execParser(
167 found = self.execParser(
194 found = self.execParser(grammar, 'a', input="a")
218 found = self.execParser(
246 found = self.execParser(
274 found = self.execParser(
302 found = self.execParser(
330 found = self.execParser(
[all …]
Dt059debug.py78 def execParser(self, grammar, grammarEntry, input, listener, member in T
118 self.execParser(
153 debugger = self.execParser(
188 debugger = self.execParser(
233 debugger = self.execParser(
272 debugger = self.execParser(
347 debugger = self.execParser(
422 debugger = self.execParser(
466 debugger = self.execParser(
524 debugger = self.execParser(
[all …]
Dt052import.py72 def execParser(self, grammar, grammarEntry, slaves, input): member in T
142 found = self.execParser(
177 found = self.execParser(
214 found = self.execParser(
263 found = self.execParser(
315 found = self.execParser(
350 found = self.execParser(
/external/antlr/gunit/src/main/resources/org/antlr/gunit/
Djunit.stg70 …Object retval = <if(isLexicalRule)>execLexer<else>execParser<endif>(<testRuleName>, <test.line>, "…
81 …<returnType> retval = (<returnType>)execParser(<testRuleName>, <test.line>, "<test.inputEscaped>",…

12