Add a function to check if a tree node has a scope.
This commit is contained in:
@@ -98,6 +98,13 @@ int libab_tree_has_string(libab_tree_variant var);
|
||||
* @return true if the tree node variant contains a type.
|
||||
*/
|
||||
int libab_tree_has_type(libab_tree_variant var);
|
||||
/**
|
||||
* Determines if the given tree node
|
||||
* variant contains a scope.
|
||||
* @param var the variant of the tree node.
|
||||
* @return true if the node variant contains a scope.
|
||||
*/
|
||||
int libab_tree_has_scope(libab_tree_variant var);
|
||||
/**
|
||||
* Determines if the given tree node variant
|
||||
* should contain a vector.
|
||||
|
||||
Reference in New Issue
Block a user