Searched refs:antlr3 (Results 76 - 99 of 99) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt042ast.py3 import antlr3 namespace
28 cStream = antlr3.StringStream(text)
30 tStream = antlr3.CommonTokenStream(self.lexer)
H A Dtestbase.py13 import antlr3 namespace
32 'antlr3-test')
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Ddottreegen.py1 """ @package antlr3.dottreegenerator
41 from antlr3.tree import CommonTreeAdaptor
195 import antlr3
196 import antlr3.extras
198 input = antlr3.ANTLRInputStream(sys.stdin)
200 tokens = antlr3.CommonTokenStream(lex)
204 st = antlr3.extras.toDOT(t)
H A Drecognizers.py36 from antlr3 import compatible_api_versions
37 from antlr3.constants import DEFAULT_CHANNEL, HIDDEN_CHANNEL, EOF, \
39 from antlr3.exceptions import RecognitionException, MismatchedTokenException, \
44 from antlr3.tokens import CommonToken, SKIP_TOKEN
45 from antlr3.compat import set, frozenset, reversed
H A Dtokens.py33 from antlr3.constants import EOF, DEFAULT_CHANNEL, INVALID_TOKEN_TYPE
H A Dtree.py1 """ @package antlr3.tree
43 from antlr3.constants import UP, DOWN, EOF, INVALID_TOKEN_TYPE
44 from antlr3.recognizers import BaseRecognizer, RuleReturnScope
45 from antlr3.streams import IntStream
46 from antlr3.tokens import CommonToken, Token, INVALID_TOKEN
47 from antlr3.exceptions import MismatchedTreeNodeException, \
H A Ddebug.py32 from antlr3 import Parser, TokenStream, RecognitionException, Token
33 from antlr3.tree import CommonTreeAdaptor, TreeAdaptor, Tree
702 @see antlr3.tree.TreeAdaptor.becomeRoot()
713 @see antlr3.tree.TreeAdaptor.addChild()
H A Dstreams.py36 from antlr3.constants import DEFAULT_CHANNEL, EOF
37 from antlr3.tokens import Token, CommonToken
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
H A DRuby.stg47 gem install antlr3
57 # 1: try to load the ruby antlr3 runtime library from the system path
58 require 'antlr3'
69 # 3: try to activate the antlr3 gem
71 Gem.activate( 'antlr3', '~> <runtimeLibraryVersion()>' )
76 require 'antlr3'
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DPython.stg59 from antlr3 import *
61 from antlr3.tree import *<\n>
63 from antlr3.compat import set, frozenset
83 from antlr3.main import LexerMain
87 from antlr3.main import ParserMain
91 from antlr3.main import WalkerMain
H A DDbg.stg34 from antlr3.debug import *
H A DAST.stg41 from antlr3.tree import *<\n>
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
H A DAntlr3Mojo.java35 package org.antlr.mojo.antlr3;
59 * that we use to compile them, such as target/generated-sources/antlr3 ...
167 * files that end in ".g" in any directory beneath src/main/antlr3. Note that
168 * this version of the plugin looks for the directory antlr3 and not the directory
192 * called antlr3 because the antlr directory is occupied by version
195 * @parameter default-value="${basedir}/src/main/antlr3"
201 * this to a directory in the tree called antlr3 because the antlr
204 * @parameter default-value="${project.build.directory}/generated-sources/antlr3"
213 * @parameter default-value="${basedir}/src/main/antlr3/imports"
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3filestream.c47 #include <antlr3.h>
H A Dantlr3commontoken.c36 #include <antlr3.h>
H A Dantlr3debughandlers.c36 #include <antlr3.h>
H A Dantlr3collections.c38 #include <antlr3.h>
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
H A DGUnitExecuteMojo.java1 package org.antlr.mojo.antlr3;
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
H A Dgroup-file-parser.rb25 gem install antlr3
35 # 1: try to load the ruby antlr3 runtime library from the system path
36 require 'antlr3'
47 # 3: try to activate the antlr3 gem
49 Gem.activate( 'antlr3', '~> 1.7.5' )
54 require 'antlr3'
661 defined?( ANTLR3::Template::GroupFile::Lexer ) or require 'antlr3/template/group-file'
H A Dgroup-file-lexer.rb25 gem install antlr3
35 # 1: try to load the ruby antlr3 runtime library from the system path
36 require 'antlr3'
47 # 3: try to activate the antlr3 gem
49 Gem.activate( 'antlr3', '~> 1.7.5' )
54 require 'antlr3'
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtesttreewizard.py7 from antlr3.tree import CommonTreeAdaptor, CommonTree, INVALID_TOKEN_TYPE
8 from antlr3.treewizard import TreeWizard, computeTokenTypes, \
H A Dtesttree.py7 from antlr3.tree import (CommonTreeNodeStream, CommonTree, CommonTreeAdaptor,
9 from antlr3 import CommonToken, UP, DOWN, EOF
10 from antlr3.treewizard import TreeWizard
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dstreams.rb56 Stream hierarchy is implemented in antlr3/stream.rb, which is loaded by default
57 when 'antlr3' is required.
84 defined in antlr3/stream.rb, but antlr3/tree.rb
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DC.stg628 * Standard antlr3 C runtime definitions
630 #include \<antlr3.h>

Completed in 253 milliseconds

1234