diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-08 13:41:12 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-08 13:41:12 -0800 |
commit | dd0cc5ed9fa60f4bae5530d1708a2974eb0c454f (patch) | |
tree | 05f9a1c63c48f18ca688e6485d64afa0018b1013 /parse_tree.h | |
parent | a23441109deebe703a436968294966abbca64cb6 (diff) |
Rewriting indenting functionality to use new parser
Diffstat (limited to 'parse_tree.h')
-rw-r--r-- | parse_tree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/parse_tree.h b/parse_tree.h index 8621cea8..d5b48331 100644 --- a/parse_tree.h +++ b/parse_tree.h @@ -253,7 +253,6 @@ public: /* Get the node corresponding to the parent of the given node, or NULL if there is no such child. If expected_type is provided, only returns the parent if it is of that type. Note the asymmetry: get_child asserts since the children are known, but get_parent does not, since the parent may not be known. */ const parse_node_t *get_parent(const parse_node_t &node, parse_token_type_t expected_type = token_type_invalid) const; - /* Find all the nodes of a given type underneath a given node */ typedef std::vector<const parse_node_t *> parse_node_list_t; parse_node_list_t find_nodes(const parse_node_t &parent, parse_token_type_t type) const; |