Home
last modified time | relevance | path

Searched defs:expecting (Results 1 – 25 of 94) sorted by relevance

1234

/external/antlr/tool/src/test/java/org/antlr/test/
DTestNFAConstruction.java47 String expecting = in testA() local
60 String expecting = in testAB() local
78 String expecting = in testAorB() local
98 String expecting = in testRangeOrRange() local
120 String expecting = in testRange() local
134 String expecting = in testCharSetInParser() local
147 String expecting = in testABorCD() local
168 String expecting = in testbA() local
189 String expecting = in testbA_bC() local
217 String expecting = in testAorEpsilon() local
[all …]
DTestCharDFAConversion.java53 String expecting = in testSimpleRangeVersusChar() local
69 String expecting = in testRangeWithDisjointSet() local
87 String expecting = in testDisjointSetCollidingWithTwoRanges() local
103 String expecting = in testDisjointSetCollidingWithTwoRangesCharsFirst() local
122 String expecting = in testDisjointSetCollidingWithTwoRangesAsSeparateAlts() local
142 String expecting = in testKeywordVersusID() local
161 String expecting = in testIdenticalRules() local
185 String expecting = in testAdjacentNotCharLoops() local
200 String expecting = in testNonAdjacentNotCharLoops() local
214 String expecting = in testLoopsWithOptimizedOutExitBranches() local
[all …]
DTestASTConstruction.java45 String expecting = in testA() local
55 String expecting = in testEmptyAlt() local
66 String expecting = in testNakeRulePlusInLexer() local
77 String expecting = in testRulePlus() local
88 String expecting = in testNakedRulePlus() local
99 String expecting = in testRuleOptional() local
110 String expecting = in testNakedRuleOptional() local
121 String expecting = in testRuleStar() local
132 String expecting = in testNakedRuleStar() local
142 String expecting = in testCharStar() local
[all …]
DTestSemanticPredicates.java55 String expecting = in testPredsButSyntaxResolves() local
65 String expecting = in testLL_1_Pred() local
77 String expecting = in testLL_1_Pred_forced_k_1() local
88 String expecting = in testLL_2_Pred() local
100 String expecting = // loop back in testPredicatedLoop() local
112 String expecting = in testPredicatedToStayInLoop() local
123 String expecting = in testAndPredicates() local
136 String expecting = in testOrPredicates() local
147 String expecting = in testIgnoresHoistingDepthGreaterThanZero() local
157 String expecting = in testIgnoresPredsHiddenByActions() local
[all …]
DTestIntervalSet.java44 String expecting = "99"; in testSingleElement() local
45 assertEquals(s.toString(), expecting); in testSingleElement() local
53 String expecting = "{1, 122, 65520}"; in testIsolatedElements() local
54 assertEquals(s.toString(), expecting); in testIsolatedElements() local
62 String expecting = "{1, 48..57, 97..122}"; in testMixedRangesAndElements() local
63 assertEquals(s.toString(), expecting); in testMixedRangesAndElements() local
69 String expecting = "13..15"; in testSimpleAnd() local
77 String expecting = "100"; in testRangeAndIsolatedElement() local
85 String expecting = "{}"; in testEmptyIntersection() local
93 String expecting = "{}"; in testEmptyIntersectionSingleElements() local
[all …]
DTestTokenRewriteStream.java56 String expecting = "0abc"; in testInsertBeforeIndex0() local
71 String expecting = "abcx"; in testInsertAfterLastIndex() local
88 String expecting = "axbxc"; in test2InsertBeforeAfterMiddleIndex() local
104 String expecting = "xbc"; in testReplaceIndex0() local
120 String expecting = "abx"; in testReplaceLastIndex() local
136 String expecting = "axc"; in testReplaceMiddleIndex() local
158 String expecting = "x = 3 * 0;"; in testToStringStartStop() local
192 String expecting = "x = 3 * 0 + 2 * 0;"; in testToStringStartStop2() local
240 String expecting = "ayc"; in test2ReplaceMiddleIndex() local
258 String expecting = "_ayc"; in test2ReplaceMiddleIndex1InsertBefore() local
[all …]
DTestDFAConversion.java49 String expecting = in testA() local
59 String expecting = in testAB_or_AC() local
71 String expecting = in testAB_or_AC_k2() local
83 String expecting = in testAB_or_AC_k1() local
130 String expecting = in testRecursionOverflowWithPredOk() local
158 String expecting = in testRecursionOverflowWithPredOk2() local
203 String expecting = in testSynPredResolvesRecursion() local
226 String expecting = in testSynPredMissingInMiddle() local
248 String expecting = in testAutoBacktrackAndPredMissingInMiddle() local
271 String expecting = in testSemPredResolvesRecursion() local
[all …]
DTestTreeWizard.java52 String expecting = "ID"; in testSingleNode() local
60 String expecting = "foo"; in testSingleNodeWithArg() local
68 String expecting = "A"; in testSingleNodeTree() local
76 String expecting = "(A B C D)"; in testSingleLevelTree() local
84 String expecting = "A B C"; in testListTree() local
98 String expecting = "(A (B C) (B D) E)"; in testDoubleLevelTree() local
107 String expecting = "{10=[ID]}"; in testSingleNodeIndex() local
116 String expecting = "{5=[A], 6=[B], 7=[C], 8=[D]}"; in testNoRepeatsIndex() local
125 String expecting = "{5=[A, A], 6=[B, B, B], 7=[C], 8=[D, D]}"; in testRepeatsIndex() local
140 String expecting = "[B]"; in testNoRepeatsVisit() local
[all …]
DTestFastQueue.java45 String expecting = "a b c d e"; in testQueueNoRemove() local
64 String expecting = "a b c d e"; in testQueueThenRemoveAll() local
83 String expecting = "abcde"; in testQueueThenRemoveOneByOne() local
97 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueue() local
113 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueueAfterSomeAdds() local
128 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueueAfterClear() local
DTestTopologicalSort.java54 String expecting = "[H, F, E, D, G, A, B, C]"; in testFairlyLargeGraph() local
68 String expecting = "[D, C, B, A]"; in testCyclicGraph() local
82 String expecting = "[D, C, B, A]"; in testRepeatedEdges() local
96 String expecting = "[MyJava.tokens, Java.g, Java.tokens, Ref.g, Def.g]"; in testSimpleTokenDependence() local
110 String expecting = "[JavaLexer.g, JavaLexer.tokens, JavaParser.g, Ref.g, Def.g]"; in testParserLexerCombo() local
DTestAttributes.java63 String expecting = action; in testEscapedLessThanInAction() local
76 String expecting = "int $n; \"$in string$\""; in testEscaped$InAction() local
96 String expecting = "i; i.x; u; u.x"; in testArguments() local
119 String expecting = "x, (*a).foo(21,33), 3.2+1, '\\n', \"a,oo\\nick\", {bl, \"fdkj\"eck}"; in testComplicatedArgParsing() local
172 String expecting = "34, '{', \"it's<\", '\"', \"\\\"\", 19"; in testStringArgParsing() local
208 String expecting = "(*a).foo(21,33,\",\")"; in testComplicatedSingleArgParsing() local
233 String expecting = "34<50"; in testArgWithLT() local
259 String expecting = "foo.get(\"ick\");"; in testGenericsAsArgumentDefinition() local
288 String expecting = "foo.get(\"ick\"); x=3;"; in testGenericsAsArgumentDefinition2() local
343 …String expecting = "x, (A1!=null?A1.getText():null)+\"3242\", (*A1).foo(21,33), 3.2+1, '\\n', \"a,… in testComplicatedArgParsingWithTranslation() local
[all …]
DTestSyntaxErrors.java48 String expecting = "line 1:1 no viable alternative at input 'e'\n"; in testLL2() local
62 String expecting = "line 1:2 no viable alternative at input 'e'\n"; in testLL3() local
75 String expecting = "line 1:3 no viable alternative at input 'e'\n"; in testLLStar() local
92 String expecting = "line 1:1 no viable alternative at input '('\n"; in testSynPred() local
114 String expecting = "{HARDWARE,SOFTWARE}\n"; in testLL1ErrorInfo() local
DTestTreeIterator.java46 String expecting = "A EOF"; in testNode() local
57 String expecting = "nil DOWN A B UP EOF"; in testFlatAB() local
68 String expecting = "A DOWN B UP EOF"; in testAB() local
79 String expecting = "A DOWN B C UP EOF"; in testABC() local
90 String expecting = "A DOWN B DOWN C UP UP EOF"; in testVerticalList() local
101 String expecting = "A DOWN B DOWN C DOWN D E UP F UP G UP EOF"; in testComplex() local
112 String expecting = "A DOWN B DOWN C DOWN D E UP F UP G UP EOF"; in testReset() local
DTestTrees.java256 String expecting = "(a c)"; in testReplaceWithOneChildren() local
269 String expecting = "(a b x d)"; in testReplaceInMiddle() local
282 String expecting = "(a x c d)"; in testReplaceAtLeft() local
295 String expecting = "(a b c x)"; in testReplaceAtRight() local
311 String expecting = "(a x y c d)"; in testReplaceOneWithTwoAtLeft() local
327 String expecting = "(a b c x y)"; in testReplaceOneWithTwoAtRight() local
343 String expecting = "(a b x y d)"; in testReplaceOneWithTwoInMiddle() local
357 String expecting = "(a x d)"; in testReplaceTwoWithOneAtLeft() local
371 String expecting = "(a b x)"; in testReplaceTwoWithOneAtRight() local
385 String expecting = "(a x)"; in testReplaceAllWithOne() local
[all …]
DTestTemplates.java52 String expecting = "x = templateLib.getInstanceOf(\"foo\"," + in testTemplateConstructor() local
90 String expecting = "x = templateLib.getInstanceOf(\"foo\");"; in testTemplateConstructorNoArgs() local
127 String expecting = "x = templateLib.getInstanceOf(\"foo\"," + in testIndirectTemplateConstructor() local
164 String expecting = "x = new StringTemplate(templateLib,(ID1!=null?ID1.getText():null));"; in testStringConstructor() local
199 String expecting = "(x).setAttribute(\"y\", z);"; in testSetAttr() local
235 String expecting = "(foo((ID1!=null?ID1.getText():null)).getST()).setAttribute(\"y\", z);"; in testSetAttrOfExpr() local
293 String expecting = null; in testCannotHaveSpaceBeforeDot() local
321 String expecting = null; in testCannotHaveSpaceAfterDot() local
DTestTreeNodeStream.java53 String expecting = " 101"; in testSingleNode() local
70 String expecting = " 101 102 103 104"; in test4Nodes() local
93 String expecting = " 101 102 103 104 105"; in testList() local
110 String expecting = " 101 102 103"; in testFlatList() local
125 String expecting = " 101"; in testListWithOneNode() local
139 String expecting = " 101 102"; in testAoverB() local
357 String expecting = " 10 2 100 101 20 2 30 2 40 50 2 60 2 70 3 3 3 80 2 90 3 3 3"; in testDeepTree() local
DTestCommonTokenStream.java57 String expecting = "x"; in testFirstToken() local
78 String expecting = " "; in test2ndToken() local
108 String expecting = "x = 3 * 0 + 2 * 0;"; in testCompleteBuffer() local
139 String expecting = "x = 3 * 0 + 2 * 0;"; in testCompleteBufferAfterConsuming() local
DTestInterpretedParsing.java74 String expecting = in testSimpleParse() local
109 String expecting = in testMismatchedTokenError() local
144 String expecting = in testMismatchedSetError() local
179 String expecting = in testNoViableAltError() local
/external/antlr/runtime/Ruby/lib/antlr3/
Derror.rb218 attr_reader :expecting accessor in ANTLR3.Error.MismatchedToken
220 def initialize( expecting, input ) argument
292 def initialize( expecting, input, inserted ) argument
349 attr_accessor :expecting accessor in ANTLR3.Error.MismatchedSet
350 def initialize( expecting, input ) argument
499 attr_accessor :expecting, :input accessor in ANTLR3.Error.MismatchedTreeNode
500 def initialize( expecting, input ) argument
600 def MismatchedToken( expecting, input = @input ) argument
604 def UnwantedToken( expecting, input = @input ) argument
608 def MissingToken( expecting, inserted, input = @input ) argument
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DUnwantedTokenException.cs58 public UnwantedTokenException(int expecting, IIntStream input) in UnwantedTokenException()
63 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) in UnwantedTokenException()
68 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException()
73 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException()
DMissingTokenException.cs64 public MissingTokenException(int expecting, IIntStream input, object inserted) in MissingTokenException()
69 …public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> token… in MissingTokenException()
75 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException()
81 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException()
DMismatchedTokenException.cs63 public MismatchedTokenException(int expecting, IIntStream input) in MismatchedTokenException()
68 public MismatchedTokenException(int expecting, IIntStream input, IList<string> tokenNames) in MismatchedTokenException()
77 …public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tok… in MismatchedTokenException()
86 …public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tok… in MismatchedTokenException()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DUnwantedTokenException.cs53 public UnwantedTokenException(int expecting, IIntStream input) in UnwantedTokenException()
57 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) in UnwantedTokenException()
61 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException()
65 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException()
DMissingTokenException.cs59 public MissingTokenException(int expecting, IIntStream input, object inserted) in MissingTokenException()
63 …public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> token… in MissingTokenException()
68 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException()
73 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException()
DMismatchedTokenException.cs61 public MismatchedTokenException(int expecting, IIntStream input) in MismatchedTokenException()
65 public MismatchedTokenException(int expecting, IIntStream input, IList<string> tokenNames) in MismatchedTokenException()
72 …public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tok… in MismatchedTokenException()
81 …public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tok… in MismatchedTokenException()

1234