aboutsummaryrefslogtreecommitdiff
path: root/src/yuescript/ast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuescript/ast.hpp')
-rw-r--r--src/yuescript/ast.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/yuescript/ast.hpp b/src/yuescript/ast.hpp
index c6da312..f59b50f 100644
--- a/src/yuescript/ast.hpp
+++ b/src/yuescript/ast.hpp
@@ -597,4 +597,14 @@ private:
597*/ 597*/
598ast_node* parse(input& i, rule& g, error_list& el, void* ud); 598ast_node* parse(input& i, rule& g, error_list& el, void* ud);
599 599
600/** check if the start part of given input matches grammar.
601 The parse procedures of each rule parsed are executed
602 before this function returns, if parsing succeeds.
603 @param i input.
604 @param g root rule of grammar.
605 @param ud user data, passed to the parse procedures.
606 @return true on parsing success, false on failure.
607*/
608ast_node* start_with(input& i, rule& g, error_list& el, void* ud);
609
600} // namespace parserlib 610} // namespace parserlib