HomeSort by relevance Sort by last modified time
    Searched refs:antlr3 (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /external/antlr/antlr-3.4/runtime/Python/
mkdoxy.sh 8 mkdir -p build/doc/antlr3
11 sed -e '/begin\[licence\]/,/end\[licence\]/d' antlr3/$f.py \
12 >>build/doc/antlr3.py
15 touch build/doc/antlr3/__init__.py
17 cp -f antlr3/tree.py build/doc/antlr3
18 cp -f antlr3/treewizard.py build/doc/antlr3
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3encodings.c 39 #include <antlr3.h>
  /external/antlr/antlr-3.4/runtime/Python/unittests/
testexceptions.py 2 import antlr3 namespace
7 """Tests for the antlr3.RecognitionException class"""
12 exc = antlr3.RecognitionException()
16 """Tests for the antlr3.EarlyExitException class"""
22 exc = antlr3.EarlyExitException()
26 """Tests for the antlr3.FailedPredicateException class"""
32 exc = antlr3.FailedPredicateException()
36 """Tests for the antlr3.MismatchedNotSetException class"""
42 exc = antlr3.MismatchedNotSetException()
46 """Tests for the antlr3.MismatchedRangeException class""
    [all...]
testantlr3.py 4 import antlr3 namespace
testdfa.py 4 import antlr3 namespace
17 class TRecognizer(antlr3.BaseRecognizer):
30 dfa = antlr3.DFA(
46 antlr3.DFA.unpack(
teststreams.py 6 import antlr3 namespace
15 stream = antlr3.StringStream('foo')
23 stream = antlr3.StringStream('foo')
31 stream = antlr3.StringStream('foo\nbar')
82 stream = antlr3.StringStream('foo')
97 stream = antlr3.StringStream('foo')
107 self.failUnlessEqual(stream.LT(2), antlr3.EOF)
108 self.failUnlessEqual(stream.LT(3), antlr3.EOF)
114 stream = antlr3.StringStream('foobar')
125 stream = antlr3.StringStream('foo\nbar'
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t016actions.py 1 import antlr3 namespace
11 cStream = antlr3.StringStream("int foo;")
13 tStream = antlr3.CommonTokenStream(lexer)
t023scopes.py 1 import antlr3 namespace
12 cStream = antlr3.StringStream('foobar')
14 tStream = antlr3.CommonTokenStream(lexer)
t031emptyAlt.py 1 import antlr3 namespace
12 cStream = antlr3.StringStream('foo')
14 tStream = antlr3.CommonTokenStream(lexer)
t045dfabug.py 3 import antlr3 namespace
11 cStream = antlr3.StringStream("public fooze")
13 tStream = antlr3.CommonTokenStream(lexer)
t050decorate.py 1 import antlr3 namespace
11 cStream = antlr3.StringStream('foobar')
13 tStream = antlr3.CommonTokenStream(lexer)
t060leftrecursion.py 4 import antlr3 namespace
33 # cStream = antlr3.StringStream(input)
35 # tStream = antlr3.CommonTokenStream(lexer)
47 # cStream = antlr3.StringStream(input)
49 # tStream = antlr3.CommonTokenStream(lexer)
t030specialStates.py 1 import antlr3 namespace
12 cStream = antlr3.StringStream('foo')
14 tStream = antlr3.CommonTokenStream(lexer)
20 cStream = antlr3.StringStream('foo name1')
22 tStream = antlr3.CommonTokenStream(lexer)
28 cStream = antlr3.StringStream('bar name1')
30 tStream = antlr3.CommonTokenStream(lexer)
37 cStream = antlr3.StringStream('bar name1 name2')
39 tStream = antlr3.CommonTokenStream(lexer)
t029synpredgate.py 1 import antlr3 namespace
12 stream = antlr3.StringStream('ac')
t013parser.py 1 import antlr3 namespace
11 cStream = antlr3.StringStream('foobar')
13 tStream = antlr3.CommonTokenStream(lexer)
22 cStream = antlr3.StringStream('')
24 tStream = antlr3.CommonTokenStream(lexer)
t021hoist.py 3 import antlr3 namespace
14 cStream = antlr3.StringStream('enum')
16 tStream = antlr3.CommonTokenStream(lexer)
25 cStream = antlr3.StringStream('enum')
27 tStream = antlr3.CommonTokenStream(lexer)
t022scopes.py 1 import antlr3 namespace
26 cStream = antlr3.StringStream('foobar')
28 tStream = antlr3.CommonTokenStream(lexer)
34 cStream = antlr3.StringStream('foobar')
36 tStream = antlr3.CommonTokenStream(lexer)
42 except antlr3.RecognitionException:
47 cStream = antlr3.StringStream('foobar')
49 tStream = antlr3.CommonTokenStream(lexer)
55 cStream = antlr3.StringStream(
65 tStream = antlr3.CommonTokenStream(lexer
    [all...]
t032subrulePredict.py 1 import antlr3 namespace
21 cStream = antlr3.StringStream(
26 tStream = antlr3.CommonTokenStream(lexer)
33 cStream = antlr3.StringStream(
38 tStream = antlr3.CommonTokenStream(lexer)
t017parser.py 1 import antlr3 namespace
24 cStream = antlr3.StringStream("int foo;")
26 tStream = antlr3.CommonTokenStream(lexer)
34 cStream = antlr3.StringStream('int foo() { 1+2 }')
36 tStream = antlr3.CommonTokenStream(lexer)
46 cStream = antlr3.StringStream('int foo() { 1+; 1+2 }')
48 tStream = antlr3.CommonTokenStream(lexer)
t014parser.py 1 import antlr3 namespace
11 cStream = antlr3.StringStream('var foobar; gnarz(); var blupp; flupp ( ) ;')
13 tStream = antlr3.CommonTokenStream(lexer)
27 cStream = antlr3.StringStream('var; foo();')
29 tStream = antlr3.CommonTokenStream(lexer)
41 cStream = antlr3.StringStream('var foobar(); gnarz();')
43 tStream = antlr3.CommonTokenStream(lexer)
57 cStream = antlr3.StringStream('gnarz(; flupp();')
59 tStream = antlr3.CommonTokenStream(lexer)
t019lexer.py 2 import antlr3 namespace
13 stream = antlr3.StringStream(open(inputPath).read())
18 if token.type == antlr3.EOF:
t024finally.py 1 import antlr3 namespace
12 cStream = antlr3.StringStream('foobar')
14 tStream = antlr3.CommonTokenStream(lexer)
t033backtracking.py 1 import antlr3 namespace
22 cStream = antlr3.StringStream('int a;')
25 tStream = antlr3.CommonTokenStream(lexer)
t038lexerRuleLabel.py 1 import antlr3 namespace
21 cStream = antlr3.StringStream('a 2')
27 if t.type == antlr3.EOF:
t040bug80.py 1 import antlr3 namespace
21 cStream = antlr3.StringStream('defined')
25 if t.type == antlr3.EOF:

Completed in 43 milliseconds

1 2 3 4 5