Lines Matching refs:tpattern
74 … if ( [(TreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:object2 /* labels */] ) {
79 if ( [(TreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:nil] ) {
373 CommonTree *tpattern = (CommonTree *)[parser pattern];
375 if ( tpattern == nil ||
376 [tpattern isNil] ||
377 [tpattern class] == [ANTLRWildcardTreePattern class] )
381 int rootTokenType = [tpattern type];
385 if ( _parse(t, tpattern, null) ) {
391 …ANTLRVisitor *contextVisitor = [ANTLRVisitor newANTLRVisitor:1 Actor:self Object:tpattern Object:s…
447 CommonTree *tpattern = [parser pattern];
449 if ( tpattern == nil ||
450 [tpattern isNil] ||
451 [tpattern class] == [ANTLRWildcardTreePattern class] )
456 int rootTokenType = [tpattern type];
463 if ( _parse(t, tpattern, labels) ) {
469 …ANTLRVisitor *contextVisitor = [ANTLRVisitor newANTLRVisitor:0 Actor:self Object:tpattern Object:l…
490 TreePattern tpattern = (TreePattern)parser.pattern();
493 System.out.println("scant="+tpattern.toStringTree());
495 boolean matched = _parse(t, tpattern, labels);
502 CommonTree *tpattern = [parser pattern];
505 System.out.println("scant="+tpattern.toStringTree());
507 //BOOL matched = [self _parse:t Pattern:tpattern Map:labels];
509 return [self _parse:t Pattern:tpattern Map:labels];
524 TreePattern *tpattern;
530 tpattern = (TreePattern *)aTPattern;
533 if ( [tpattern class] != [ANTLRWildcardTreePattern class] ) {
534 if ( [adaptor getType:t1] != [tpattern type] )
537 if ( tpattern.hasTextArg && ![[adaptor getText:t1] isEqualToString:[tpattern text]] ) {
541 if ( tpattern.label != nil && labels!=nil ) {
543 [labels putName:tpattern.label Node:t1];
547 int n2 = [tpattern getChildCount];
553 CommonTree *child2 = (CommonTree *)[tpattern getChild:i];