Home
last modified time | relevance | path

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

1234

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestNFAConstruction.java45 String expecting = in testA() local
58 String expecting = in testAB() local
76 String expecting = in testAorB() local
96 String expecting = in testRangeOrRange() local
118 String expecting = in testRange() local
132 String expecting = in testCharSetInParser() local
145 String expecting = in testABorCD() local
166 String expecting = in testbA() local
187 String expecting = in testbA_bC() local
215 String expecting = in testAorEpsilon() local
[all …]
DTestCharDFAConversion.java51 String expecting = in testSimpleRangeVersusChar() local
67 String expecting = in testRangeWithDisjointSet() local
85 String expecting = in testDisjointSetCollidingWithTwoRanges() local
101 String expecting = in testDisjointSetCollidingWithTwoRangesCharsFirst() local
120 String expecting = in testDisjointSetCollidingWithTwoRangesAsSeparateAlts() local
140 String expecting = in testKeywordVersusID() local
159 String expecting = in testIdenticalRules() local
183 String expecting = in testAdjacentNotCharLoops() local
198 String expecting = in testNonAdjacentNotCharLoops() local
212 String expecting = in testLoopsWithOptimizedOutExitBranches() local
[all …]
DTestASTConstruction.java43 String expecting = in testA() local
53 String expecting = in testEmptyAlt() local
64 String expecting = in testNakeRulePlusInLexer() local
75 String expecting = in testRulePlus() local
86 String expecting = in testNakedRulePlus() local
97 String expecting = in testRuleOptional() local
108 String expecting = in testNakedRuleOptional() local
119 String expecting = in testRuleStar() local
130 String expecting = in testNakedRuleStar() local
140 String expecting = in testCharStar() local
[all …]
DTestIntervalSet.java46 String expecting = "99"; in testSingleElement() local
47 assertEquals(s.toString(), expecting); in testSingleElement() local
55 String expecting = "{1, 122, 65520}"; in testIsolatedElements() local
56 assertEquals(s.toString(), expecting); in testIsolatedElements() local
64 String expecting = "{1, 48..57, 97..122}"; in testMixedRangesAndElements() local
65 assertEquals(s.toString(), expecting); in testMixedRangesAndElements() local
71 String expecting = "13..15"; in testSimpleAnd() local
79 String expecting = "100"; in testRangeAndIsolatedElement() local
87 String expecting = "{}"; in testEmptyIntersection() local
95 String expecting = "{}"; in testEmptyIntersectionSingleElements() local
[all …]
DTestSemanticPredicates.java52 String expecting = in testPredsButSyntaxResolves() local
62 String expecting = in testLL_1_Pred() local
74 String expecting = in testLL_1_Pred_forced_k_1() local
85 String expecting = in testLL_2_Pred() local
97 String expecting = // loop back in testPredicatedLoop() local
109 String expecting = in testPredicatedToStayInLoop() local
120 String expecting = in testAndPredicates() local
133 String expecting = in testOrPredicates() local
144 String expecting = in testIgnoresHoistingDepthGreaterThanZero() local
154 String expecting = in testIgnoresPredsHiddenByActions() local
[all …]
DTestTokenRewriteStream.java54 String expecting = "0abc"; in testInsertBeforeIndex0() local
69 String expecting = "abcx"; in testInsertAfterLastIndex() local
86 String expecting = "axbxc"; in test2InsertBeforeAfterMiddleIndex() local
102 String expecting = "xbc"; in testReplaceIndex0() local
118 String expecting = "abx"; in testReplaceLastIndex() local
134 String expecting = "axc"; in testReplaceMiddleIndex() local
156 String expecting = "x = 3 * 0;"; in testToStringStartStop() local
190 String expecting = "x = 3 * 0 + 2 * 0;"; in testToStringStartStop2() local
238 String expecting = "ayc"; in test2ReplaceMiddleIndex() local
256 String expecting = "_ayc"; in test2ReplaceMiddleIndex1InsertBefore() local
[all …]
DTestDFAConversion.java46 String expecting = in testA() local
56 String expecting = in testAB_or_AC() local
68 String expecting = in testAB_or_AC_k2() local
80 String expecting = in testAB_or_AC_k1() local
127 String expecting = in testRecursionOverflowWithPredOk() local
155 String expecting = in testRecursionOverflowWithPredOk2() local
200 String expecting = in testSynPredResolvesRecursion() local
223 String expecting = in testSynPredMissingInMiddle() local
245 String expecting = in testAutoBacktrackAndPredMissingInMiddle() local
268 String expecting = in testSemPredResolvesRecursion() 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
DTestSyntaxErrors.java43 String expecting = "line 1:1 no viable alternative at input 'e'\n"; in testLL2() local
57 String expecting = "line 1:2 no viable alternative at input 'e'\n"; in testLL3() local
70 String expecting = "line 1:3 no viable alternative at input 'e'\n"; in testLLStar() local
87 String expecting = "line 1:0 no viable alternative at input '('\n"; in testSynPred() local
109 String expecting = "{HARDWARE,SOFTWARE}\n"; in testLL1ErrorInfo() local
DTestTreeWizard.java51 String expecting = "ID"; in testSingleNode() local
59 String expecting = "foo"; in testSingleNodeWithArg() local
67 String expecting = "A"; in testSingleNodeTree() local
75 String expecting = "(A B C D)"; in testSingleLevelTree() local
83 String expecting = "A B C"; in testListTree() local
97 String expecting = "(A (B C) (B D) E)"; in testDoubleLevelTree() local
106 String expecting = "{10=[ID]}"; in testSingleNodeIndex() local
115 String expecting = "{5=[A], 6=[B], 7=[C], 8=[D]}"; in testNoRepeatsIndex() local
124 String expecting = "{5=[A, A], 6=[B, B, B], 7=[C], 8=[D, D]}"; in testRepeatsIndex() local
138 String expecting = "[B]"; in testNoRepeatsVisit() local
[all …]
DTestTopologicalSort.java52 String expecting = "[H, F, E, D, G, A, B, C]"; in testFairlyLargeGraph() local
66 String expecting = "[D, C, B, A]"; in testCyclicGraph() local
80 String expecting = "[D, C, B, A]"; in testRepeatedEdges() local
94 String expecting = "[MyJava.tokens, Java.g, Java.tokens, Ref.g, Def.g]"; in testSimpleTokenDependence() local
108 String expecting = "[JavaLexer.g, JavaLexer.tokens, JavaParser.g, Ref.g, Def.g]"; in testParserLexerCombo() 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
DTestAttributes.java61 String expecting = action; in testEscapedLessThanInAction() local
74 String expecting = "int $n; \"$in string$\""; in testEscaped$InAction() local
94 String expecting = "i; i.x; u; u.x"; in testArguments() local
117 String expecting = "x, (*a).foo(21,33), 3.2+1, '\\n', \"a,oo\\nick\", {bl, \"fdkj\"eck}"; in testComplicatedArgParsing() local
170 String expecting = "34, '{', \"it's<\", '\"', \"\\\"\", 19"; in testStringArgParsing() local
206 String expecting = "(*a).foo(21,33,\",\")"; in testComplicatedSingleArgParsing() local
231 String expecting = "34<50"; in testArgWithLT() local
257 String expecting = "foo.get(\"ick\");"; in testGenericsAsArgumentDefinition() local
286 String expecting = "foo.get(\"ick\"); x=3;"; in testGenericsAsArgumentDefinition2() local
341 …String expecting = "x, (A1!=null?A1.getText():null)+\"3242\", (*A1).foo(21,33), 3.2+1, '\\n', \"a,… in testComplicatedArgParsingWithTranslation() local
[all …]
DTestTrees.java259 String expecting = "(a c)"; in testReplaceWithOneChildren() local
272 String expecting = "(a b x d)"; in testReplaceInMiddle() local
285 String expecting = "(a x c d)"; in testReplaceAtLeft() local
298 String expecting = "(a b c x)"; in testReplaceAtRight() local
314 String expecting = "(a x y c d)"; in testReplaceOneWithTwoAtLeft() local
330 String expecting = "(a b c x y)"; in testReplaceOneWithTwoAtRight() local
346 String expecting = "(a b x y d)"; in testReplaceOneWithTwoInMiddle() local
360 String expecting = "(a x d)"; in testReplaceTwoWithOneAtLeft() local
374 String expecting = "(a b x)"; in testReplaceTwoWithOneAtRight() local
388 String expecting = "(a x)"; in testReplaceAllWithOne() local
[all …]
DTestCommonTokenStream.java55 String expecting = "x"; in testFirstToken() local
76 String expecting = " "; in test2ndToken() local
106 String expecting = "x = 3 * 0 + 2 * 0;"; in testCompleteBuffer() local
137 String expecting = "x = 3 * 0 + 2 * 0;"; in testCompleteBufferAfterConsuming() local
/external/antlr/antlr-3.4/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/antlr-3.4/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()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DMismatchedTokenException.java32 public int expecting = Token.INVALID_TOKEN_TYPE; field in MismatchedTokenException
37 public MismatchedTokenException(int expecting, IntStream input) { in MismatchedTokenException()
DMismatchedTreeNodeException.java36 public int expecting; field in MismatchedTreeNodeException
41 public MismatchedTreeNodeException(int expecting, TreeNodeStream input) { in MismatchedTreeNodeException()
DMismatchedSetException.java31 public BitSet expecting; field in MismatchedSetException
36 public MismatchedSetException(BitSet expecting, IntStream input) { in MismatchedSetException()
/external/antlr/antlr-3.4/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 …]

1234