Home
last modified time | relevance | path

Searched defs:grammar (Results 1 – 25 of 77) sorted by relevance

1234

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAutoAST.java37 String grammar = in testTokenList() local
50 String grammar = in testTokenListInSingleAltBlock() local
63 String grammar = in testSimpleRootAtOuterLevel() local
76 String grammar = in testSimpleRootAtOuterLevelReverse() local
89 String grammar = in testBang() local
102 String grammar = in testOptionalThenRoot() local
115 String grammar = in testLabeledStringRoot() local
128 String grammar = in testWildcard() local
141 String grammar = in testWildcardRoot() local
154 String grammar = in testWildcardRootWithLabel() local
[all …]
DTestRewriteAST.java42 String grammar = in testDelete() local
55 String grammar = in testSingleToken() local
68 String grammar = in testSingleTokenToNewNode() local
81 String grammar = in testSingleTokenToNewNodeRoot() local
95 String grammar = in testSingleTokenToNewNode2() local
108 String grammar = in testSingleCharLiteral() local
121 String grammar = in testSingleStringLiteral() local
134 String grammar = in testSingleRule() local
148 String grammar = in testReorderTokens() local
161 String grammar = in testReorderTokenAndRule() local
[all …]
DTestSets.java43 String grammar = in testSeqDoesNotBecomeSet() local
55 String grammar = in testParserSet() local
64 String grammar = in testParserNotSet() local
73 String grammar = in testParserNotToken() local
82 String grammar = in testParserNotTokenWithLabel() local
91 String grammar = in testRuleAsSet() local
100 String grammar = in testRuleAsSetAST() local
110 String grammar = in testNotChar() local
120 String grammar = in testOptionalSingleElement() local
130 String grammar = in testOptionalLexerSingleElement() local
[all …]
DTestHeteroAST.java39 String grammar = in testToken() local
56 String grammar = in testTokenCommonTree() local
68 String grammar = in testTokenWithQualifiedType() local
85 String grammar = in testNamedType() local
103 String grammar = in testTokenWithLabel() local
120 String grammar = in testTokenWithListLabel() local
137 String grammar = in testTokenRoot() local
154 String grammar = in testTokenRootWithListLabel() local
171 String grammar = in testString() local
188 String grammar = in testStringRoot() local
[all …]
DTestSemanticPredicateEvaluation.java34 String grammar = in testSimpleCyclicDFAWithPredicate() local
45 String grammar = in testSimpleCyclicDFAWithInstanceVarPredicate() local
57 String grammar = in testPredicateValidation() local
73 String grammar = in testLexerPreds() local
86 String grammar = in testLexerPreds2() local
100 String grammar = in testLexerPredInExitBranch() local
113 String grammar = in testLexerPredInExitBranch2() local
125 String grammar = in testLexerPredInExitBranch3() local
137 String grammar = in testLexerPredInExitBranch4() local
148 String grammar = in testLexerPredsInCyclicDFA() local
[all …]
DTestTreeGrammarRewriteAST.java48 String grammar = in testFlatList() local
68 String grammar = in testSimpleTree() local
88 String grammar = in testNonImaginaryWithCtor() local
107 String grammar = in testCombinedRewriteAndAuto() local
131 String grammar = in testAvoidDup() local
151 String grammar = in testLoop() local
171 String grammar = in testAutoDup() local
191 String grammar = in testAutoDupRule() local
212 String grammar = in testAutoWildcard() local
260 String grammar = in testAutoWildcard2() local
[all …]
DTestSyntacticPredicateEvaluation.java34 String grammar = in testTwoPredsWithNakedAlt() local
83 String grammar = in testTwoPredsWithNakedAltNotLast() local
131 String grammar = in testLexerPred() local
152 String grammar = in testLexerWithPredLongerThanAlt() local
174 String grammar = in testLexerPredCyclicPrediction() local
190 String grammar = in testLexerPredCyclicPrediction2() local
205 String grammar = in testSimpleNestedPred() local
240 String grammar = in testTripleNestedPredInLexer() local
291 String grammar = in testTreeParserWithSynPred() local
314 String grammar = in testTreeParserWithNestedSynPred() local
[all …]
DTestLexer.java46 String grammar = in testSetText() local
59 String grammar = in testRefToRuleDoesNotSetTokenNorEmitAnother() local
73 String grammar = in testRefToRuleDoesNotSetChannel() local
85 String grammar = in testWeCanSetType() local
100 String grammar = in testRefToFragment() local
114 String grammar = in testMultipleRefToFragment() local
127 String grammar = in testLabelInSubrule() local
139 String grammar = in testRefToTokenInLexer() local
151 String grammar = in testListLabelInLexer() local
163 String grammar = in testDupListRefInLexer() local
[all …]
DTestJavaCodeGeneration.java41 String grammar = in testDupVarDefForPinchedState() local
55 String grammar = in testLabeledNotSetsInLexer() local
68 String grammar = in testLabeledSetsInLexer() local
80 String grammar = in testLabeledRangeInLexer() local
92 String grammar = in testLabeledWildcardInLexer() local
103 String grammar = in testSynpredWithPlusLoop() local
114 String grammar = in testDoubleQuoteEscape() local
129 String grammar = in testBlankRuleGetsNoException() local
DTestLeftRecursion.java10 String grammar = in testSimple() local
25 String grammar = in testSemPred() local
40 String grammar = in testTernaryExpr() local
66 String grammar = in testDeclarationsUsingASTOperators() local
97 String grammar = in testDeclarationsUsingRewriteOperators() local
128 String grammar = in testExpressionsUsingASTOperators() local
160 String grammar = in testExpressionsUsingRewriteOperators() local
191 String grammar = in testExpressionAssociativity() local
232 String grammar = in testJavaExpressions() local
321 String grammar = in testReturnValueAndActions() local
[all …]
DTestTreeParsing.java34 String grammar = in testFlatList() local
54 String grammar = in testSimpleTree() local
74 String grammar = in testFlatVsTreeDecision() local
97 String grammar = in testFlatVsTreeDecision2() local
121 String grammar = in testCyclicDFALookahead() local
143 String grammar = in testTemplateOutput() local
164 String grammar = in testNullableChildList() local
184 String grammar = in testNullableChildList2() local
205 String grammar = in testNullableChildList3() local
227 String grammar = in testActionsAfterRoot() local
[all …]
DTestRewriteTemplates.java39 String grammar = in testDelete() local
52 String grammar = in testAction() local
65 String grammar = in testEmbeddedLiteralConstructor() local
78 String grammar = in testInlineTemplate() local
93 String grammar = in testNamedTemplate() local
108 String grammar = in testIndirectTemplate() local
121 String grammar = in testInlineTemplateInvokingLib() local
136 String grammar = in testPredicatedAlts() local
151 String grammar = in testTemplateReturn() local
165 String grammar = in testReturnValueWithTemplate() local
[all …]
DTestSyntaxErrors.java36 String grammar = in testLL2() local
49 String grammar = in testLL3() local
63 String grammar = in testLLStar() local
76 String grammar = in testSynPred() local
93 String grammar = in testLL1ErrorInfo() local
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCTarget.java44 Grammar grammar, in genRecognizerFile()
59 Grammar grammar, in genRecognizerHeaderFile()
75 Grammar grammar, in chooseWhereCyclicDFAsGo()
291 protected void performGrammarAnalysis(CodeGenerator generator, Grammar grammar) { in performGrammarAnalysis()
DJavaTarget.java40 Grammar grammar, in chooseWhereCyclicDFAsGo()
48 protected void performGrammarAnalysis(CodeGenerator generator, Grammar grammar) { in performGrammarAnalysis()
DTarget.java88 Grammar grammar, in genRecognizerFile()
99 Grammar grammar, in genRecognizerHeaderFile()
108 Grammar grammar) in performGrammarAnalysis()
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
Drewrites.rb8 def parse( grammar, rule, input, expect_errors = false ) argument
32 def tree_parse( grammar, tree_grammar, rule, tree_rule, input ) argument
Dauto-ast.rb8 def parse( grammar, rule, input, expect_errors = false ) argument
32 def tree_parse( grammar, tree_grammar, rule, tree_rule, input ) argument
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DNFAConversionThread.java36 Grammar grammar; field in NFAConversionThread
39 public NFAConversionThread(Grammar grammar, in NFAConversionThread()
DDFAOptimizer.java130 protected Grammar grammar; field in DFAOptimizer
132 public DFAOptimizer(Grammar grammar) { in DFAOptimizer()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSyntaxMessage.java44 Grammar grammar, in GrammarSyntaxMessage()
52 Grammar grammar, in GrammarSyntaxMessage()
DFASerializer.java57 protected Grammar grammar; field in FASerializer
60 public FASerializer(Grammar grammar) { in FASerializer()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb49 def import_grammar_targets( grammar ) argument
133 def compile( grammar, options = {} ) argument
141 def register_grammar( grammar ) argument
182 def compile_and_load( grammar, options = {} ) argument
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt056lexer.py14 def execParser(self, grammar, grammarEntry, input): argument
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
Dtemplate-output.rb8 def parse( grammar, input, options = nil ) argument

1234