Home
last modified time | relevance | path

Searched defs:adaptor (Results 1 – 25 of 133) sorted by relevance

123456

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3basetreeadaptor.c80 antlr3BaseTreeAdaptorInit(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_DEBUG_EVENT_LISTENER debugger) in antlr3BaseTreeAdaptorInit()
160 defineDotNodes(pANTLR3_BASE_TREE_ADAPTOR adaptor, void * t, pANTLR3_STRING dotSpec ) in defineDotNodes()
240 defineDotEdges(pANTLR3_BASE_TREE_ADAPTOR adaptor, void * t, pANTLR3_STRING dotSpec) in defineDotEdges()
359 makeDot (pANTLR3_BASE_TREE_ADAPTOR adaptor, void * theTree) in makeDot()
441 nilNode (pANTLR3_BASE_TREE_ADAPTOR adaptor) in nilNode()
447 dbgNil (pANTLR3_BASE_TREE_ADAPTOR adaptor) in dbgNil()
461 dupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t) in dupTree()
467 dupTreeTT (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_BASE_TREE parent) in dupTreeTT()
500 simulateTreeConstruction(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE tree) in simulateTreeConstruction()
520 dbgDupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE tree) in dbgDupTree()
[all …]
Dantlr3commontreeadaptor.c202 setDebugEventListener (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_DEBUG_EVENT_LISTENER debugger) in setDebugEventListener()
216 ctaFree(pANTLR3_BASE_TREE_ADAPTOR adaptor) in ctaFree()
239 errorNode (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_TOKEN_STREAM ctnstream, pANTLR3_COMMON_TOK… in errorNode()
253 dupNode (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE treeNode) in dupNode()
259 create (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN payload) in create()
272 dbgCreate (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN payload) in dbgCreate()
291 createToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text) in createToken()
327 createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN fromToken) in createTokenFromToken()
372 setTokenBoundaries (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN st… in setTokenBoundaries()
409 dbgSetTokenBoundaries (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN… in dbgSetTokenBoundaries()
[all …]
Dantlr3rewritestreams.c187 antlr3RewriteRuleElementStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec,… in antlr3RewriteRuleElementStreamNewAE()
257 antlr3RewriteRuleElementStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec… in antlr3RewriteRuleElementStreamNewAEE()
280 antlr3RewriteRuleElementStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec… in antlr3RewriteRuleElementStreamNewAEV()
309 antlr3RewriteRuleTOKENStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, p… in antlr3RewriteRuleTOKENStreamNewAE()
333 antlr3RewriteRuleTOKENStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, … in antlr3RewriteRuleTOKENStreamNewAEE()
352 antlr3RewriteRuleTOKENStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, … in antlr3RewriteRuleTOKENStreamNewAEV()
373 antlr3RewriteRuleSubtreeStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec,… in antlr3RewriteRuleSubtreeStreamNewAE()
395 antlr3RewriteRuleSubtreeStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec… in antlr3RewriteRuleSubtreeStreamNewAEE()
418 antlr3RewriteRuleSubtreeStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec… in antlr3RewriteRuleSubtreeStreamNewAEV()
442 antlr3RewriteRuleNODEStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pA… in antlr3RewriteRuleNODEStreamNewAE()
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeIterator.java41 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testNode() local
52 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testFlatAB() local
63 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testAB() local
74 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testABC() local
85 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testVerticalList() local
96 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testComplex() local
107 TreeAdaptor adaptor = new CommonTreeAdaptor(); in testReset() local
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Ddottreegen.py80 def toDOT(self, tree, adaptor=None, treeST=_treeST, edgeST=_edgeST): argument
94 def toDOTDefineNodes(self, tree, adaptor, treeST, knownNodes=None): argument
127 def toDOTDefineEdges(self, tree, adaptor, treeST, edgeST): argument
154 def getNodeST(self, adaptor, t): argument
174 def toDOT(tree, adaptor=None, treeST=DOTTreeGenerator._treeST, edgeST=DOTTreeGenerator._edgeST): argument
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Ddot.rb91 def self.generate( tree, adaptor = nil, tree_template = TREE_TEMPLATE, argument
105 def to_dot( tree, adaptor = nil, tree_template = TREE_TEMPLATE, argument
117 def define_nodes( tree, adaptor, tree_template, known_nodes = nil ) argument
142 def define_edges( tree, adaptor, tree_template, edge_template ) argument
163 def node_template_for( adaptor, tree ) argument
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
DDOTTreeGenerator.cs93 public virtual string ToDot(object tree, ITreeAdaptor adaptor) { in ToDot()
120 protected virtual IEnumerable<string> DefineNodes(object tree, ITreeAdaptor adaptor) { in DefineNodes()
143 protected virtual IEnumerable<string> DefineEdges(object tree, ITreeAdaptor adaptor) { in DefineEdges()
168 protected virtual string GetNodeText(ITreeAdaptor adaptor, object t) { in GetNodeText()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DDotTreeGenerator.cs95 public virtual string ToDot( object tree, ITreeAdaptor adaptor ) in ToDot()
124 protected virtual IEnumerable<string> DefineNodes( object tree, ITreeAdaptor adaptor ) in DefineNodes()
150 protected virtual IEnumerable<string> DefineEdges( object tree, ITreeAdaptor adaptor ) in DefineEdges()
178 protected virtual string GetNodeText( ITreeAdaptor adaptor, object t ) in GetNodeText()
DRewriteRuleElementStream.cs86 protected ITreeAdaptor adaptor; field in Antlr.Runtime.Tree.RewriteRuleElementStream
88 public RewriteRuleElementStream( ITreeAdaptor adaptor, string elementDescription ) in RewriteRuleElementStream()
95 …public RewriteRuleElementStream( ITreeAdaptor adaptor, string elementDescription, object oneElemen… in RewriteRuleElementStream()
102 … public RewriteRuleElementStream( ITreeAdaptor adaptor, string elementDescription, IList elements ) in RewriteRuleElementStream()
DRewriteRuleSubtreeStream.cs40 public RewriteRuleSubtreeStream( ITreeAdaptor adaptor, string elementDescription ) in RewriteRuleSubtreeStream()
46 …public RewriteRuleSubtreeStream( ITreeAdaptor adaptor, string elementDescription, object oneElemen… in RewriteRuleSubtreeStream()
52 … public RewriteRuleSubtreeStream( ITreeAdaptor adaptor, string elementDescription, IList elements ) in RewriteRuleSubtreeStream()
DRewriteRuleNodeStream.cs47 public RewriteRuleNodeStream( ITreeAdaptor adaptor, string elementDescription ) in RewriteRuleNodeStream()
53 … public RewriteRuleNodeStream( ITreeAdaptor adaptor, string elementDescription, object oneElement ) in RewriteRuleNodeStream()
59 … public RewriteRuleNodeStream( ITreeAdaptor adaptor, string elementDescription, IList elements ) in RewriteRuleNodeStream()
DRewriteRuleTokenStream.cs42 public RewriteRuleTokenStream( ITreeAdaptor adaptor, string elementDescription ) in RewriteRuleTokenStream()
48 …public RewriteRuleTokenStream( ITreeAdaptor adaptor, string elementDescription, object oneElement ) in RewriteRuleTokenStream()
54 … public RewriteRuleTokenStream( ITreeAdaptor adaptor, string elementDescription, IList elements ) in RewriteRuleTokenStream()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DDotTreeGenerator.cs95 public virtual string ToDot( object tree, ITreeAdaptor adaptor ) in ToDot()
124 protected virtual IEnumerable<string> DefineNodes( object tree, ITreeAdaptor adaptor ) in DefineNodes()
150 protected virtual IEnumerable<string> DefineEdges( object tree, ITreeAdaptor adaptor ) in DefineEdges()
178 protected virtual string GetNodeText( ITreeAdaptor adaptor, object t ) in GetNodeText()
DRewriteRuleElementStream.cs84 protected ITreeAdaptor adaptor; field in Antlr.Runtime.Tree.RewriteRuleElementStream
86 public RewriteRuleElementStream(ITreeAdaptor adaptor, string elementDescription) { in RewriteRuleElementStream()
92 …public RewriteRuleElementStream(ITreeAdaptor adaptor, string elementDescription, object oneElement) in RewriteRuleElementStream()
98 … public RewriteRuleElementStream(ITreeAdaptor adaptor, string elementDescription, IList elements) in RewriteRuleElementStream()
DRewriteRuleSubtreeStream.cs38 public RewriteRuleSubtreeStream(ITreeAdaptor adaptor, string elementDescription) in RewriteRuleSubtreeStream()
43 …public RewriteRuleSubtreeStream(ITreeAdaptor adaptor, string elementDescription, object oneElement) in RewriteRuleSubtreeStream()
48 … public RewriteRuleSubtreeStream(ITreeAdaptor adaptor, string elementDescription, IList elements) in RewriteRuleSubtreeStream()
DRewriteRuleNodeStream.cs45 public RewriteRuleNodeStream(ITreeAdaptor adaptor, string elementDescription) in RewriteRuleNodeStream()
51 ITreeAdaptor adaptor, in RewriteRuleNodeStream()
59 ITreeAdaptor adaptor, in RewriteRuleNodeStream()
DRewriteRuleTokenStream.cs45 public RewriteRuleTokenStream(ITreeAdaptor adaptor, string elementDescription) in RewriteRuleTokenStream()
53 ITreeAdaptor adaptor, in RewriteRuleTokenStream()
61 ITreeAdaptor adaptor, in RewriteRuleTokenStream()
DTreePatternParser.cs40 protected ITreeAdaptor adaptor; field in Antlr.Runtime.Tree.TreePatternParser
42 … public TreePatternParser(TreePatternLexer tokenizer, TreeWizard wizard, ITreeAdaptor adaptor) { in TreePatternParser()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DDOTTreeGenerator.java80 TreeAdaptor adaptor, in toDOT()
99 TreeAdaptor adaptor) in toDOT()
126 TreeAdaptor adaptor, in toDOTDefineNodes()
153 TreeAdaptor adaptor, in toDOTDefineEdges()
184 protected StringTemplate getNodeST(TreeAdaptor adaptor, Object t) { in getNodeST()
DRewriteRuleElementStream.java75 protected TreeAdaptor adaptor; field in RewriteRuleElementStream
77 public RewriteRuleElementStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleElementStream()
83 public RewriteRuleElementStream(TreeAdaptor adaptor, in RewriteRuleElementStream()
92 public RewriteRuleElementStream(TreeAdaptor adaptor, in RewriteRuleElementStream()
DRewriteRuleNodeStream.java37 public RewriteRuleNodeStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleNodeStream()
42 public RewriteRuleNodeStream(TreeAdaptor adaptor, in RewriteRuleNodeStream()
50 public RewriteRuleNodeStream(TreeAdaptor adaptor, in RewriteRuleNodeStream()
DRewriteRuleSubtreeStream.java34 public RewriteRuleSubtreeStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleSubtreeStream()
39 public RewriteRuleSubtreeStream(TreeAdaptor adaptor, in RewriteRuleSubtreeStream()
47 public RewriteRuleSubtreeStream(TreeAdaptor adaptor, in RewriteRuleSubtreeStream()
DRewriteRuleTokenStream.java36 public RewriteRuleTokenStream(TreeAdaptor adaptor, String elementDescription) { in RewriteRuleTokenStream()
41 public RewriteRuleTokenStream(TreeAdaptor adaptor, in RewriteRuleTokenStream()
49 public RewriteRuleTokenStream(TreeAdaptor adaptor, in RewriteRuleTokenStream()
DTreeVisitor.java35 protected TreeAdaptor adaptor; field in TreeVisitor
37 public TreeVisitor(TreeAdaptor adaptor) { in TreeVisitor()
DTreeParser.java92 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getMissingSymbol() local
152 TreeAdaptor adaptor = ((TreeNodeStream)e.input).getTreeAdaptor(); in getErrorMessage() local
179 public static boolean inContext(TreeAdaptor adaptor, in inContext()
222 …protected static Object getAncestor(TreeAdaptor adaptor, String[] tokenNames, Object t, String goa… in getAncestor()

123456