Home
last modified time | relevance | path

Searched refs:tokenNameToTypeMap (Results 1 – 9 of 9) sorted by relevance

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeWizard.java55 protected Map<String, Integer> tokenNameToTypeMap; field in TreeWizard
129 public TreeWizard(TreeAdaptor adaptor, Map<String, Integer> tokenNameToTypeMap) { in TreeWizard() argument
131 this.tokenNameToTypeMap = tokenNameToTypeMap; in TreeWizard()
136 this.tokenNameToTypeMap = computeTokenTypes(tokenNames); in TreeWizard()
160 if ( tokenNameToTypeMap==null ) { in getTokenType()
163 Integer ttypeI = tokenNameToTypeMap.get(tokenName); in getTokenType()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs66 protected IDictionary<string, int> tokenNameToTypeMap; field in Antlr.Runtime.Tree.TreeWizard
160 public TreeWizard(ITreeAdaptor adaptor, IDictionary<string, int> tokenNameToTypeMap) { in TreeWizard() argument
162 this.tokenNameToTypeMap = tokenNameToTypeMap; in TreeWizard()
167 this.tokenNameToTypeMap = ComputeTokenTypes(tokenNames); in TreeWizard()
193 if (tokenNameToTypeMap == null) { in GetTokenType()
198 if (tokenNameToTypeMap.TryGetValue(tokenName, out value)) in GetTokenType()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs68 protected IDictionary<string, int> tokenNameToTypeMap; field in Antlr.Runtime.Tree.TreeWizard
179 public TreeWizard( ITreeAdaptor adaptor, IDictionary<string, int> tokenNameToTypeMap ) in TreeWizard() argument
182 this.tokenNameToTypeMap = tokenNameToTypeMap; in TreeWizard()
188 this.tokenNameToTypeMap = ComputeTokenTypes( tokenNames ); in TreeWizard()
219 if ( tokenNameToTypeMap == null ) in GetTokenType()
225 if ( tokenNameToTypeMap.TryGetValue( tokenName, out value ) ) in GetTokenType()
/external/antlr/runtime/ObjC/Framework/
DTreeWizard.h99 Map *tokenNameToTypeMap; variable
107 - (id) initWithAdaptor:(id<TreeAdaptor>)adaptor Map:(Map *)tokenNameToTypeMap;
134 @property (retain) Map *tokenNameToTypeMap;
DTreeWizard.m246 tokenNameToTypeMap = aTokenNameToTypeMap;
256 //tokenNameToTypeMap = aTokenNameToTypeMap;
257 tokenNameToTypeMap = [[self computeTokenTypes:theTokNams] retain];
267 // tokenNameToTypeMap = aTokenNameToTypeMap;
268 tokenNameToTypeMap = [[self computeTokenTypes:theTokNams] retain];
279 if ( tokenNameToTypeMap ) [tokenNameToTypeMap release];
302 if ( tokenNameToTypeMap == nil ) {
305 NSInteger aTType = (NSInteger)[tokenNameToTypeMap getTType:tokenName];
734 @synthesize tokenNameToTypeMap;
/external/antlr/runtime/Python3/antlr3/
Dtreewizard.py330 self.tokenNameToTypeMap = computeTokenTypes(tokenNames)
336 self.tokenNameToTypeMap = typeMap
342 if tokenName in self.tokenNameToTypeMap:
343 return self.tokenNameToTypeMap[tokenName]
/external/antlr/runtime/Python/antlr3/
Dtreewizard.py330 self.tokenNameToTypeMap = computeTokenTypes(tokenNames)
336 self.tokenNameToTypeMap = typeMap
343 return self.tokenNameToTypeMap[tokenName]
/external/antlr/runtime/Python3/unittests/
Dtesttreewizard.py254 wiz.tokenNameToTypeMap,
/external/antlr/runtime/Python/unittests/
Dtesttreewizard.py255 wiz.tokenNameToTypeMap,