Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAutoAST.java44 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenList()
57 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenListInSingleAltBlock()
70 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleRootAtOuterLevel()
83 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSimpleRootAtOuterLevelReverse()
96 String found = execParser("T.g", grammar, "TParser", "TLexer", in testBang()
109 String found = execParser("T.g", grammar, "TParser", "TLexer", in testOptionalThenRoot()
122 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledStringRoot()
135 String found = execParser("T.g", grammar, "TParser", "TLexer", in testWildcard()
148 String found = execParser("T.g", grammar, "TParser", "TLexer", in testWildcardRoot()
161 String found = execParser("T.g", grammar, "TParser", "TLexer", in testWildcardRootWithLabel()
[all …]
DTestRewriteAST.java49 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete()
62 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleToken()
75 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNode()
88 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNodeRoot()
102 String found = execParser("TT.g", grammar, "TTParser", "TTLexer", in testSingleTokenToNewNode2()
115 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleCharLiteral()
128 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleStringLiteral()
142 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleRule()
155 String found = execParser("T.g", grammar, "TParser", "TLexer", in testReorderTokens()
169 String found = execParser("T.g", grammar, "TParser", "TLexer", in testReorderTokenAndRule()
[all …]
DTestSets.java49 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSeqDoesNotBecomeSet()
58 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserSet()
67 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotSet()
76 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotToken()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotTokenWithLabel()
94 String found = execParser("T.g", grammar, "TParser", "TLexer", in testRuleAsSet()
104 String found = execParser("T.g", grammar, "TParser", "TLexer", in testRuleAsSetAST()
114 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNotChar()
124 String found = execParser("T.g", grammar, "TParser", "TLexer", in testOptionalSingleElement()
134 String found = execParser("T.g", grammar, "TParser", "TLexer", in testOptionalLexerSingleElement()
[all …]
DTestSyntacticPredicateEvaluation.java53 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
62 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
70 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
102 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
111 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
119 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
140 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerPred()
145 found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerPred()
162 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerWithPredLongerThanAlt()
167 found = execParser("T.g", grammar, "TParser", "TLexer", in testLexerWithPredLongerThanAlt()
[all …]
DTestSemanticPredicateEvaluation.java39 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithPredicate()
51 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithInstanceVarPredicate()
67 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testPredicateValidation()
79 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds()
92 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds2()
107 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch()
119 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch2()
131 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch3()
142 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredInExitBranch4()
154 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPredsInCyclicDFA()
[all …]
DTestHeteroAST.java50 String found = execParser("T.g", grammar, "TParser", "TLexer", in testToken()
62 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenCommonTree()
79 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithQualifiedType()
96 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedType()
114 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithLabel()
131 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithListLabel()
148 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenRoot()
165 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenRootWithListLabel()
182 String found = execParser("T.g", grammar, "TParser", "TLexer", in testString()
199 String found = execParser("T.g", grammar, "TParser", "TLexer", in testStringRoot()
[all …]
DTestLexer.java51 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSetText()
65 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetTokenNorEmitAnother()
79 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetChannel()
92 String found = execParser("P.g", grammar, "PParser", "PLexer", in testWeCanSetType()
106 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToFragment()
120 String found = execParser("P.g", grammar, "PParser", "PLexer", in testMultipleRefToFragment()
133 String found = execParser("P.g", grammar, "PParser", "PLexer", in testLabelInSubrule()
145 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToTokenInLexer()
157 String found = execParser("P.g", grammar, "PParser", "PLexer", in testListLabelInLexer()
169 String found = execParser("P.g", grammar, "PParser", "PLexer", in testDupListRefInLexer()
[all …]
DTestRewriteTemplates.java46 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete()
59 String found = execParser("T.g", grammar, "TParser", "TLexer", in testAction()
72 String found = execParser("T.g", grammar, "TParser", "TLexer", in testEmbeddedLiteralConstructor()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testInlineTemplate()
100 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedTemplate()
115 String found = execParser("T.g", grammar, "TParser", "TLexer", in testIndirectTemplate()
128 String found = execParser("T.g", grammar, "TParser", "TLexer", in testInlineTemplateInvokingLib()
145 String found = execParser("T.g", grammar, "TParser", "TLexer", in testPredicatedAlts()
159 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTemplateReturn()
173 String found = execParser("T.g", grammar, "TParser", "TLexer", in testReturnValueWithTemplate()
[all …]
DTestSyntaxErrors.java42 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "ae", false); in testLL2()
56 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "abe", false); in testLL3()
69 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "aaae", false); in testLLStar()
86 String found = execParser("T.g", grammar, "TParser", "TLexer", "a", "((i))z", false); in testSynPred()
108 …String result = execParser("T.g", grammar, "TParser", "TLexer", "start", "dog and software", false… in testLL1ErrorInfo()
DTestJavaCodeGeneration.java73 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledSetsInLexer()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledRangeInLexer()
97 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledWildcardInLexer()
DTestCompositeGrammars.java61 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesDelegateRule()
81 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesDelegateRuleWithArgs()
101 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesDelegateRuleWithReturnStruct()
120 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorAccessesDelegateMembers()
142 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorInvokesFirstVersionOfDelegateRule()
179 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatesSeeSameTokenType()
509 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorRuleOverridesDelegate()
534 String found = execParser("Java.g", master, "JavaParser", "JavaLexer", in testDelegatorRuleOverridesLookaheadInDelegate()
558 String found = execParser("M.g", master, "MParser", "MLexer", in testDelegatorRuleOverridesDelegates()
690 String found = execParser("M.g", master, "MParser", "MLexer", in testSyntacticPredicateRulesAreNotInherited()
[all …]
DTestLeftRecursion.java18 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSimple()
33 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSemPred()
DTestSymbolDefinitions.java194 String found = execParser("P.g", grammar, "PParser", "PLexer", in testTokenInTokensSectionAndTokenRuleDef()
209 String found = execParser("P.g", grammar, "PParser", "PLexer", in testTokenInTokensSectionAndTokenRuleDef2()
DBaseTest.java217 protected String execParser(String grammarFileName, in execParser() method in BaseTest
DTestAttributes.java2127 String found = execParser("T.g", grammar, "TParser", "TLexer", in testRuleLabelOnTwoDifferentRulesAST()
2141 String found = execParser("T.g", grammar, "TParser", "TLexer", in testRuleLabelOnTwoDifferentRulesTemplate()
/external/antlr/antlr-3.4/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/antlr-3.4/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>",…
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java155 …public Object execParser(String testRuleName, int line, String testInput, boolean isFile) throws E… in execParser() method in gUnitBaseTest