• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libantlr3c-3.2/src/

Lines Matching refs:tree

2  * Contains the base functions that all tree adaptors start with.
75 /** Given a pointer to a base tree adaptor structure (which is usually embedded in the
76 * super class the implements the tree adaptor used in the parse), initialize its
187 // For each child of the current tree, define a node using the
249 // No tree, so do nothing
386 // No tree, so create a blank spec
438 /** Create and return a nil tree node (no token payload)
457 /** Return a duplicate of the entire tree (implementation provided by the
496 /// Sends the required debugging events for duplicating a tree
500 simulateTreeConstruction(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE tree)
508 adaptor->debugger->createNode(adaptor->debugger, tree);
510 n = adaptor->getChildCount(adaptor, tree);
513 child = adaptor->getChild(adaptor, tree, i);
515 adaptor->debugger->addChild(adaptor->debugger, tree, child);
520 dbgDupTree (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE tree)
524 // Call the normal dup tree mechanism first
526 t = adaptor->dupTreeTT(adaptor, tree, NULL);
529 // simulate the tree building mechanism. THis will fire
531 // duped the tree..
538 /** Add a child to the tree t. If child is a flat tree (a list), make all
543 * a tree's addChild method to work this way. Make sure you differentiate
544 * between your tree's addChild and this parser tree construction addChild
595 * If newRoot is a nil-rooted single child tree, use the single
624 /* Protect against tree rewrites if we are in some sort of error
626 * for a tree that was not produced.
633 /* root is just the new tree as is if there is no
634 * current root tree.
647 /* TODO: Handle tree exceptions
649 ANTLR3_FPRINTF(stderr, "More than one node as root! TODO: Create tree exception handling\n");
665 * is a flat list (nill rooted tree). All children of oldroot are added to
670 // If the oldroot tree was a nil node, then we know at this point
680 // don't know necessarilly know how to do this for the real node, we just ask the tree itself
736 /** Use the adaptor interface to set a new tree node with the supplied token
737 * to the root of the tree.
883 getChild (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE tree, ANTLR3_UINT32 i)
890 getChildCount (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE tree)