Home
last modified time | relevance | path

Searched refs:expecting (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestNFAConstruction.java45 String expecting = in testA() local
51 checkRule(g, "a", expecting); in testA()
58 String expecting = in testAB() local
65 checkRule(g, "a", expecting); in testAB()
76 String expecting = in testAorB() local
88 checkRule(g, "a", expecting); in testAorB()
96 String expecting = in testRangeOrRange() local
110 checkRule(g, "A", expecting); in testRangeOrRange()
118 String expecting = in testRange() local
124 checkRule(g, "A", expecting); in testRange()
[all …]
DTestCharDFAConversion.java51 String expecting = in testSimpleRangeVersusChar() local
56 checkDecision(g, 1, expecting, null); in testSimpleRangeVersusChar()
67 String expecting = in testRangeWithDisjointSet() local
73 checkDecision(g, 1, expecting, null); in testRangeWithDisjointSet()
85 String expecting = in testDisjointSetCollidingWithTwoRanges() local
90 checkDecision(g, 1, expecting, null); in testDisjointSetCollidingWithTwoRanges()
101 String expecting = in testDisjointSetCollidingWithTwoRangesCharsFirst() local
106 checkDecision(g, 1, expecting, null); in testDisjointSetCollidingWithTwoRangesCharsFirst()
120 String expecting = in testDisjointSetCollidingWithTwoRangesAsSeparateAlts() local
132 checkDecision(g, 1, expecting, null); in testDisjointSetCollidingWithTwoRangesAsSeparateAlts()
[all …]
DTestASTConstruction.java43 String expecting = in testA() local
46 assertEquals(expecting, found); in testA()
53 String expecting = in testEmptyAlt() local
56 assertEquals(expecting, found); in testEmptyAlt()
64 String expecting = in testNakeRulePlusInLexer() local
67 assertEquals(expecting, found); in testNakeRulePlusInLexer()
75 String expecting = in testRulePlus() local
78 assertEquals(expecting, found); in testRulePlus()
86 String expecting = in testNakedRulePlus() local
89 assertEquals(expecting, found); in testNakedRulePlus()
[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
73 assertEquals(result, expecting); in testSimpleAnd()
79 String expecting = "100"; in testRangeAndIsolatedElement() local
81 assertEquals(result, expecting); in testRangeAndIsolatedElement()
[all …]
DTestSemanticPredicates.java52 String expecting = in testPredsButSyntaxResolves() local
55 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testPredsButSyntaxResolves()
62 String expecting = in testLL_1_Pred() local
66 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testLL_1_Pred()
74 String expecting = in testLL_1_Pred_forced_k_1() local
78 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testLL_1_Pred_forced_k_1()
85 String expecting = in testLL_2_Pred() local
90 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testLL_2_Pred()
97 String expecting = // loop back in testPredicatedLoop() local
102 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testPredicatedLoop()
[all …]
DTestDFAConversion.java46 String expecting = in testA() local
49 checkDecision(g, 1, expecting, null, null, null, null, 0); in testA()
56 String expecting = in testAB_or_AC() local
60 checkDecision(g, 1, expecting, null, null, null, null, 0); in testAB_or_AC()
68 String expecting = in testAB_or_AC_k2() local
72 checkDecision(g, 1, expecting, null, null, null, null, 0); in testAB_or_AC_k2()
80 String expecting = in testAB_or_AC_k1() local
87 checkDecision(g, 1, expecting, unreachableAlts, in testAB_or_AC_k1()
127 String expecting = in testRecursionOverflowWithPredOk() local
145 checkDecision(g, 1, expecting, unreachableAlts, in testRecursionOverflowWithPredOk()
[all …]
DTestTokenRewriteStream.java54 String expecting = "0abc"; in testInsertBeforeIndex0() local
55 assertEquals(expecting, result); in testInsertBeforeIndex0()
69 String expecting = "abcx"; in testInsertAfterLastIndex() local
70 assertEquals(expecting, result); in testInsertAfterLastIndex()
86 String expecting = "axbxc"; in test2InsertBeforeAfterMiddleIndex() local
87 assertEquals(expecting, result); in test2InsertBeforeAfterMiddleIndex()
102 String expecting = "xbc"; in testReplaceIndex0() local
103 assertEquals(expecting, result); in testReplaceIndex0()
118 String expecting = "abx"; in testReplaceLastIndex() local
119 assertEquals(expecting, result); in testReplaceLastIndex()
[all …]
DTestSyntacticPredicateEvaluation.java55 String expecting = in testTwoPredsWithNakedAlt() local
60 assertEquals(expecting, found); in testTwoPredsWithNakedAlt()
64 expecting = in testTwoPredsWithNakedAlt()
68 assertEquals(expecting, found); in testTwoPredsWithNakedAlt()
72 expecting = in testTwoPredsWithNakedAlt()
79 assertEquals(expecting, found); in testTwoPredsWithNakedAlt()
104 String expecting = in testTwoPredsWithNakedAltNotLast() local
109 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast()
113 expecting = in testTwoPredsWithNakedAltNotLast()
117 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast()
[all …]
DTestTreeIterator.java46 String expecting = "A EOF"; in testNode() local
48 assertEquals(expecting, found); in testNode()
57 String expecting = "nil DOWN A B UP EOF"; in testFlatAB() local
59 assertEquals(expecting, found); in testFlatAB()
68 String expecting = "A DOWN B UP EOF"; in testAB() local
70 assertEquals(expecting, found); in testAB()
79 String expecting = "A DOWN B C UP EOF"; in testABC() local
81 assertEquals(expecting, found); in testABC()
90 String expecting = "A DOWN B DOWN C UP UP EOF"; in testVerticalList() local
92 assertEquals(expecting, found); in testVerticalList()
[all …]
DTestTreeWizard.java51 String expecting = "ID"; in testSingleNode() local
52 assertEquals(expecting, found); in testSingleNode()
59 String expecting = "foo"; in testSingleNodeWithArg() local
60 assertEquals(expecting, found); in testSingleNodeWithArg()
67 String expecting = "A"; in testSingleNodeTree() local
68 assertEquals(expecting, found); in testSingleNodeTree()
75 String expecting = "(A B C D)"; in testSingleLevelTree() local
76 assertEquals(expecting, found); in testSingleLevelTree()
83 String expecting = "A B C"; in testListTree() local
84 assertEquals(expecting, found); in testListTree()
[all …]
DTestJavaCodeGeneration.java49 boolean expecting = true; // should be ok in testDupVarDefForPinchedState()
50 assertEquals(expecting, found); in testDupVarDefForPinchedState()
62 boolean expecting = true; // should be ok in testLabeledNotSetsInLexer()
63 assertEquals(expecting, found); in testLabeledNotSetsInLexer()
109 boolean expecting = true; // should be ok in testSynpredWithPlusLoop()
110 assertEquals(expecting, found); in testSynpredWithPlusLoop()
124 boolean expecting = true; // should be ok in testDoubleQuoteEscape()
125 assertEquals(expecting, found); in testDoubleQuoteEscape()
137 boolean expecting = true; // should be ok in testBlankRuleGetsNoException()
138 assertEquals(expecting, found); in testBlankRuleGetsNoException()
DTestSyntaxErrors.java43 String expecting = "line 1:1 no viable alternative at input 'e'\n"; in testLL2() local
45 assertEquals(expecting, result); in testLL2()
57 String expecting = "line 1:2 no viable alternative at input 'e'\n"; in testLL3() local
59 assertEquals(expecting, result); in testLL3()
70 String expecting = "line 1:3 no viable alternative at input 'e'\n"; in testLLStar() local
72 assertEquals(expecting, result); in testLLStar()
87 String expecting = "line 1:0 no viable alternative at input '('\n"; in testSynPred() local
89 assertEquals(expecting, result); in testSynPred()
109 String expecting = "{HARDWARE,SOFTWARE}\n"; in testLL1ErrorInfo() local
110 assertEquals(expecting, result); in testLL1ErrorInfo()
DTestAttributes.java61 String expecting = action; in testEscapedLessThanInAction() local
69 assertEquals(expecting, found); in testEscapedLessThanInAction()
74 String expecting = "int $n; \"$in string$\""; in testEscaped$InAction() local
89 String found = translator.translate(); assertEquals(expecting, found); in testEscaped$InAction()
94 String expecting = "i; i.x; u; u.x"; in testArguments() local
109 String found = translator.translate(); assertEquals(expecting, found); in testArguments()
117 String expecting = "x, (*a).foo(21,33), 3.2+1, '\\n', \"a,oo\\nick\", {bl, \"fdkj\"eck}"; in testComplicatedArgParsing() local
135 assertEquals(expecting, rawTranslation); in testComplicatedArgParsing()
170 String expecting = "34, '{', \"it's<\", '\"', \"\\\"\", 19"; in testStringArgParsing() local
188 assertEquals(expecting, rawTranslation); in testStringArgParsing()
[all …]
DTestFastQueue.java45 String expecting = "a b c d e"; in testQueueNoRemove() local
47 assertEquals(expecting, found); in testQueueNoRemove()
64 String expecting = "a b c d e"; in testQueueThenRemoveAll() local
66 assertEquals(expecting, found); in testQueueThenRemoveAll()
83 String expecting = "abcde"; in testQueueThenRemoveOneByOne() local
85 assertEquals(expecting, found); in testQueueThenRemoveOneByOne()
97 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueue() local
99 assertEquals(expecting, found); in testGetFromEmptyQueue()
113 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueueAfterSomeAdds() local
115 assertEquals(expecting, found); in testGetFromEmptyQueueAfterSomeAdds()
[all …]
DTestTopologicalSort.java52 String expecting = "[H, F, E, D, G, A, B, C]"; in testFairlyLargeGraph() local
55 assertEquals(expecting, result); in testFairlyLargeGraph()
66 String expecting = "[D, C, B, A]"; in testCyclicGraph() local
69 assertEquals(expecting, result); in testCyclicGraph()
80 String expecting = "[D, C, B, A]"; in testRepeatedEdges() local
83 assertEquals(expecting, result); in testRepeatedEdges()
94 String expecting = "[MyJava.tokens, Java.g, Java.tokens, Ref.g, Def.g]"; in testSimpleTokenDependence() local
97 assertEquals(expecting, result); in testSimpleTokenDependence()
108 String expecting = "[JavaLexer.g, JavaLexer.tokens, JavaParser.g, Ref.g, Def.g]"; in testParserLexerCombo() local
111 assertEquals(expecting, result); in testParserLexerCombo()
DTestTreeNodeStream.java51 String expecting = " 101"; in testSingleNode() local
53 assertEquals(expecting, found); in testSingleNode()
55 expecting = " 101"; in testSingleNode()
57 assertEquals(expecting, found); in testSingleNode()
68 String expecting = " 101 102 103 104"; in test4Nodes() local
70 assertEquals(expecting, found); in test4Nodes()
72 expecting = " 101 2 102 2 103 3 104 3"; in test4Nodes()
74 assertEquals(expecting, found); in test4Nodes()
91 String expecting = " 101 102 103 104 105"; in testList() local
93 assertEquals(expecting, found); in testList()
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt048rewrite.py29 expecting = "0abc"
30 self.failUnlessEqual(result, expecting)
38 expecting = "abcx"
39 self.failUnlessEqual(result, expecting)
48 expecting = "axbxc"
49 self.failUnlessEqual(result, expecting)
57 expecting = "xbc"
58 self.failUnlessEqual(result, expecting)
66 expecting = "abx"
67 self.failUnlessEqual(result, expecting)
[all …]
/external/libxml2/result/HTML/
Dwired.html.err1 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';'
4 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';'
7 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';'
10 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';'
13 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';'
16 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';'
19 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';'
22 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';'
25 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';'
28 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';'
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttree.py28 expecting = "101"
30 self.failUnlessEqual(expecting, found)
32 expecting = "101"
34 self.failUnlessEqual(expecting, found)
77 expecting = "101 102 103 104"
79 self.failUnlessEqual(expecting, found)
81 expecting = "101 2 102 2 103 3 104 3"
83 self.failUnlessEqual(expecting, found)
100 expecting = "101 102 103 104 105"
102 self.failUnlessEqual(expecting, found)
[all …]
Dtesttreewizard.py287 expecting = "ID"
288 self.failUnlessEqual(expecting, found)
295 expecting = "foo"
296 self.failUnlessEqual(expecting, found)
303 expecting = "A"
304 self.failUnlessEqual(expecting, found)
311 expecting = "(A B C D)"
312 self.failUnlessEqual(expecting, found)
319 expecting = "A B C"
320 self.failUnlessEqual(expecting, found)
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Derror.rb220 def initialize( expecting, input ) argument
221 @expecting = expecting
292 def initialize( expecting, input, inserted ) argument
293 super( expecting, input )
350 def initialize( expecting, input ) argument
352 @expecting = expecting
500 def initialize( expecting, input ) argument
501 @expecting = expecting
600 def MismatchedToken( expecting, input = @input ) argument
601 MismatchedToken.new( expecting, input )
[all …]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dexceptions.py199 def __init__(self, expecting, input): argument
201 self.expecting = expecting
207 self.getUnexpectedType(), self.expecting
220 exp = ", expected %s" % self.expecting
221 if self.expecting == INVALID_TOKEN_TYPE:
237 def __init__(self, expecting, input, inserted): argument
238 MismatchedTokenException.__init__(self, expecting, input)
244 return self.expecting
279 def __init__(self, expecting, input): argument
282 self.expecting = expecting
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DMissingTokenException.cs59 public MissingTokenException(int expecting, IIntStream input, object inserted) in MissingTokenException() argument
60 : this(expecting, input, inserted, null) { in MissingTokenException()
63 …public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> token… in MissingTokenException() argument
64 : base(expecting, input, tokenNames) { in MissingTokenException()
68 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException() argument
69 : base(message, expecting, input, tokenNames) { in MissingTokenException()
73 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException() argument
74 : base(message, expecting, input, tokenNames, innerException) { in MissingTokenException()
DUnwantedTokenException.cs53 public UnwantedTokenException(int expecting, IIntStream input) in UnwantedTokenException() argument
54 : base(expecting, input) { in UnwantedTokenException()
57 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) in UnwantedTokenException() argument
58 : base(expecting, input, tokenNames) { in UnwantedTokenException()
61 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException() argument
62 : base(message, expecting, input, tokenNames) { in UnwantedTokenException()
65 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException() argument
66 : base(message, expecting, input, tokenNames, innerException) { in UnwantedTokenException()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DMissingTokenException.cs64 public MissingTokenException(int expecting, IIntStream input, object inserted) in MissingTokenException() argument
65 : this(expecting, input, inserted, null) in MissingTokenException()
69 …public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> token… in MissingTokenException() argument
70 : base(expecting, input, tokenNames) in MissingTokenException()
75 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException() argument
76 : base(message, expecting, input, tokenNames) in MissingTokenException()
81 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException() argument
82 : base(message, expecting, input, tokenNames, innerException) in MissingTokenException()

12345678910>>...15