Lines Matching refs:TreeWizard
2 // TreeWizard.m
32 #import "TreeWizard.h"
74 … if ( [(TreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:object2 /* labels */] ) {
79 if ( [(TreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:nil] ) {
182 @implementation TreeWizard implementation
205 + (TreeWizard *) newTreeWizard:(id<TreeAdaptor>)anAdaptor
207 return [[TreeWizard alloc] initWithAdaptor:anAdaptor];
210 + (TreeWizard *)newTreeWizard:(id<TreeAdaptor>)anAdaptor Map:(Map *)aTokenNameToTypeMap
212 return [[TreeWizard alloc] initWithAdaptor:anAdaptor Map:aTokenNameToTypeMap];
215 + (TreeWizard *)newTreeWizard:(id<TreeAdaptor>)anAdaptor TokenNames:(NSArray *)theTokNams
217 return [[TreeWizard alloc] initWithTokenNames:anAdaptor TokenNames:theTokNams];
220 + (TreeWizard *)newTreeWizardWithTokenNames:(NSArray *)theTokNams
222 return [[TreeWizard alloc] initWithTokenNames:theTokNams];
352 visit(t, ttype, new TreeWizard.Visitor() {
383 visit(t, rootTokenType, new TreeWizard.ContextVisitor() {
396 - (TreeWizard *)findFirst:(CommonTree *) t Type:(NSInteger)ttype
401 - (TreeWizard *)findFirst:(CommonTree *) t Pattern:(NSString *)pattern
459 visit(t, rootTokenType, new TreeWizard.ContextVisitor() {
597 * this instance of a TreeWizard.