Started working on ast
This commit is contained in:
parent
9aee1f2272
commit
1d4dc219db
1344 changed files with 118659 additions and 107610 deletions
|
|
@ -106,15 +106,14 @@ void symbols_names_3(t_symbols_names_array *v)
|
|||
v->a[anon_sym_DQUOTE] = "\\\"";
|
||||
v->a[sym_string_content] = "string_content";
|
||||
v->a[sym_raw_string] = "raw_string";
|
||||
v->a[aux_sym_number_token1] = "number_token1";
|
||||
v->a[aux_sym_number_token2] = "number_token2";
|
||||
v->a[sym_number] = "number";
|
||||
v->a[anon_sym_POUND] = "special_variable_name";
|
||||
v->a[anon_sym_DOLLAR_LBRACE] = "${";
|
||||
symbols_names_4(v);
|
||||
}
|
||||
|
||||
void symbols_names_4(t_symbols_names_array *v)
|
||||
{
|
||||
v->a[anon_sym_DOLLAR_LBRACE] = "${";
|
||||
v->a[anon_sym_COLON_DASH] = "operator";
|
||||
v->a[anon_sym_DASH3] = "operator";
|
||||
v->a[anon_sym_COLON_EQ] = "operator";
|
||||
|
|
@ -134,6 +133,7 @@ void symbols_names_4(t_symbols_names_array *v)
|
|||
v->a[anon_sym_AT] = "special_variable_name";
|
||||
v->a[anon_sym_0] = "special_variable_name";
|
||||
v->a[anon_sym__] = "special_variable_name";
|
||||
v->a[anon_sym_SEMI] = ";";
|
||||
symbols_names_5(v);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
void symbols_names_5(t_symbols_names_array *v)
|
||||
{
|
||||
v->a[anon_sym_SEMI] = ";";
|
||||
v->a[sym_heredoc_start] = "heredoc_start";
|
||||
v->a[sym_simple_heredoc_body] = "heredoc_body";
|
||||
v->a[sym__heredoc_body_beginning] = "_heredoc_body_beginning";
|
||||
|
|
@ -27,19 +26,19 @@ void symbols_names_5(t_symbols_names_array *v)
|
|||
v->a[sym_regex] = "regex";
|
||||
v->a[sym__expansion_word] = "word";
|
||||
v->a[sym_extglob_pattern] = "extglob_pattern";
|
||||
v->a[sym__bare_dollar] = "$";
|
||||
v->a[sym__bare_dollar] = "word";
|
||||
v->a[sym__immediate_double_hash] = "operator";
|
||||
v->a[sym___error_recovery] = "__error_recovery";
|
||||
v->a[sym_program] = "program";
|
||||
v->a[sym__statements] = "_statements";
|
||||
v->a[aux_sym__terminated_statement] = "_terminated_statement";
|
||||
v->a[sym__statement_not_pipeline] = "_statement_not_pipeline";
|
||||
v->a[sym_redirected_statement] = "redirected_statement";
|
||||
symbols_names_6(v);
|
||||
}
|
||||
|
||||
void symbols_names_6(t_symbols_names_array *v)
|
||||
{
|
||||
v->a[sym_redirected_statement] = "redirected_statement";
|
||||
v->a[sym_for_statement] = "for_statement";
|
||||
v->a[sym_while_statement] = "while_statement";
|
||||
v->a[sym_do_group] = "do_group";
|
||||
|
|
@ -59,12 +58,12 @@ void symbols_names_6(t_symbols_names_array *v)
|
|||
v->a[sym_command_name] = "command_name";
|
||||
v->a[sym_variable_assignment] = "variable_assignment";
|
||||
v->a[sym_variable_assignments] = "variable_assignments";
|
||||
v->a[sym_file_redirect] = "file_redirect";
|
||||
symbols_names_7(v);
|
||||
}
|
||||
|
||||
void symbols_names_7(t_symbols_names_array *v)
|
||||
{
|
||||
v->a[sym_file_redirect] = "file_redirect";
|
||||
v->a[sym_heredoc_redirect] = "heredoc_redirect";
|
||||
v->a[sym__heredoc_pipeline] = "pipeline";
|
||||
v->a[sym__heredoc_expression] = "_heredoc_expression";
|
||||
|
|
@ -83,15 +82,14 @@ void symbols_names_7(t_symbols_names_array *v)
|
|||
= "arithmetic_parenthesized_expression";
|
||||
v->a[sym_concatenation] = "concatenation";
|
||||
v->a[sym_string] = "string";
|
||||
v->a[sym_number] = "number";
|
||||
v->a[sym_simple_expansion] = "simple_expansion";
|
||||
v->a[sym_expansion] = "expansion";
|
||||
v->a[sym__expansion_body] = "_expansion_body";
|
||||
symbols_names_8(v);
|
||||
}
|
||||
|
||||
void symbols_names_8(t_symbols_names_array *v)
|
||||
{
|
||||
v->a[sym_expansion] = "expansion";
|
||||
v->a[sym__expansion_body] = "_expansion_body";
|
||||
v->a[sym_expansion_expression] = "expansion_expression";
|
||||
v->a[sym_expansion_regex] = "expansion_regex";
|
||||
v->a[sym__concatenation_in_expansion] = "concatenation";
|
||||
|
|
@ -113,16 +111,18 @@ void symbols_names_8(t_symbols_names_array *v)
|
|||
v->a[aux_sym_variable_assignments_repeat1] \
|
||||
= "variable_assignments_repeat1";
|
||||
v->a[aux_sym_heredoc_body_repeat1] = "heredoc_body_repeat1";
|
||||
v->a[aux_sym_concatenation_repeat1] = "concatenation_repeat1";
|
||||
v->a[aux_sym_string_repeat1] = "string_repeat1";
|
||||
symbols_names_9(v);
|
||||
}
|
||||
|
||||
void symbols_names_9(t_symbols_names_array *v)
|
||||
{
|
||||
v->a[aux_sym_concatenation_repeat1] = "concatenation_repeat1";
|
||||
v->a[aux_sym_string_repeat1] = "string_repeat1";
|
||||
v->a[aux_sym_expansion_regex_repeat1] = "expansion_regex_repeat1";
|
||||
v->a[aux_sym__concatenation_in_expansion_repeat1] \
|
||||
= "_concatenation_in_expansion_repeat1";
|
||||
v->a[alias_sym_statements] = "statements";
|
||||
v->a[alias_sym_terminator] = "terminator";
|
||||
}
|
||||
|
||||
/* EOF symbols_names_1.c */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue