aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bash_ast.cpp')
-rw-r--r--src/core/bash_ast.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/bash_ast.cpp b/src/core/bash_ast.cpp
index 3787f84..213264c 100644
--- a/src/core/bash_ast.cpp
+++ b/src/core/bash_ast.cpp
@@ -211,6 +211,11 @@ long bash_ast::walker_arithmetics(plibbashWalker tree_parser)
return tree_parser->arithmetics(tree_parser);
}
+std::string bash_ast::walker_string_expr(libbashWalker_Ctx_struct* tree_parser)
+{
+ return tree_parser->string_expr(tree_parser).libbash_value;
+}
+
pANTLR3_BASE_TREE bash_ast::parser_start(plibbashParser parser)
{
return parser->start(parser).tree;
@@ -221,6 +226,11 @@ pANTLR3_BASE_TREE bash_ast::parser_arithmetics(plibbashParser parser)
return parser->arithmetics(parser).tree;
}
+pANTLR3_BASE_TREE bash_ast::parser_all_expansions(libbashParser_Ctx_struct* parser)
+{
+ return parser->all_expansions(parser).tree;
+}
+
void bash_ast::call_function(plibbashWalker ctx,
ANTLR3_MARKER index)
{