<s> import warnings <EOL> from bento . parser . nodes import Node <EOL> def p_stmt_list ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> if p [ <NUM_LIT:2> ] . type not in ( "<STR_LIT>" , ) : <EOL> p [ <NUM_LIT:0> ] . children . append ( p [ <NUM_LIT:2> ] ) <EOL> def p_stmt_list_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_stmt_list_empty ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , [ ] ) <EOL> def p_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_empty ( p ) : <EOL> "<STR_LIT>" <EOL> pass <EOL> def p_meta_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_meta_description ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:description>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_description_indented ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:description>" , value = p [ <NUM_LIT:4> ] ) <EOL> def p_meta_name_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:name>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_summary_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_url_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:url>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_download_url_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_author_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_author_email_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_maintainer_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_maintainer_email_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_license_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_description_from_file_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_platforms_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_meta_keywords_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_meta_version_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:version>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_meta_config_py_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_meta_meta_template_file_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> warnings . warn ( "<STR_LIT>" ) <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = [ p [ <NUM_LIT:3> ] ] ) <EOL> def p_meta_meta_template_files_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_meta_classifiers_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_classifiers_list ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:1> ] . value ) <EOL> def p_classifiers_list_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:1> ] . value ) <EOL> def p_indented_comma_list1 ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> p [ <NUM_LIT:0> ] . value . extend ( p [ <NUM_LIT:4> ] . value ) <EOL> def p_indented_comma_list2 ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:2> ] <EOL> def p_classifiers ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> p [ <NUM_LIT:0> ] . value . append ( p [ <NUM_LIT:3> ] . value ) <EOL> def p_classifiers_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = [ p [ <NUM_LIT:1> ] . value ] ) <EOL> def p_classifier ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:1> ] ) <EOL> def p_meta_hook_file_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_meta_subento_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_meta_use_backends_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_extra_source_files ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_data_files ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> p [ <NUM_LIT:0> ] . children . append ( p [ <NUM_LIT:3> ] ) <EOL> def p_data_files_declaration ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_data_files_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = ( p [ <NUM_LIT:1> ] . children + [ p [ <NUM_LIT:2> ] ] ) ) <EOL> def p_data_files_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_data_files_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_data_files_target ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_data_files_srcdir ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_data_files_files ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_flag ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] , p [ <NUM_LIT:3> ] ] ) <EOL> def p_flag_declaration ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_flag_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = ( p [ <NUM_LIT:1> ] . children + [ p [ <NUM_LIT:2> ] ] ) ) <EOL> def p_flag_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_flag_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_flag_description ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_flag_default ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_path ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:path>" , children = [ p [ <NUM_LIT:1> ] , p [ <NUM_LIT:3> ] ] ) <EOL> def p_path_declaration ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_path_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = ( p [ <NUM_LIT:1> ] . children + [ p [ <NUM_LIT:2> ] ] ) ) <EOL> def p_path_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_path_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_path_description ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_path_default ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_library ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> p [ <NUM_LIT:0> ] . children . append ( p [ <NUM_LIT:3> ] ) <EOL> def p_library_decl_only ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_library_declaration ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:3> ] <EOL> def p_library_name ( p ) : <EOL> """<STR_LIT>""" <EOL> if len ( p ) == <NUM_LIT:1> : <EOL> name = "<STR_LIT:default>" <EOL> else : <EOL> name = p [ <NUM_LIT:1> ] <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = name ) <EOL> def p_library_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> children = p [ <NUM_LIT:1> ] . children <EOL> children . append ( p [ <NUM_LIT:2> ] ) <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = children ) <EOL> def p_library_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_library_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_packages_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_modules_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_sub_directory_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_extension_stmt_content ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> p [ <NUM_LIT:0> ] . children . append ( p [ <NUM_LIT:3> ] ) <EOL> def p_extension_field_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> children = p [ <NUM_LIT:1> ] . children <EOL> children . append ( p [ <NUM_LIT:2> ] ) <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = children ) <EOL> def p_extension_field_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_extension_decl ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_extension_sources ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_extension_include_dirs ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_compiled_library_stmt_content ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> p [ <NUM_LIT:0> ] . children . append ( p [ <NUM_LIT:3> ] ) <EOL> def p_compiled_library_field_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> children = p [ <NUM_LIT:1> ] . children <EOL> children . append ( p [ <NUM_LIT:2> ] ) <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = children ) <EOL> def p_compiled_library_field_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_compiled_library_decl ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_compiled_library_sources ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_compiled_library_include_dirs ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_build_requires_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_install_requires_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] . value ) <EOL> def p_in_conditional_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_conditional_if_only ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:2> ] , children = [ p [ <NUM_LIT:5> ] ] ) <EOL> def p_conditional_if_else ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:2> ] , children = [ p [ <NUM_LIT:5> ] , p [ <NUM_LIT:10> ] ] ) <EOL> def p_test ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_os_var ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_flag_var ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_not_flag_var ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:4> ] ) <EOL> def p_cond_expr_true ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:bool>" , value = True ) <EOL> def p_cond_expr_true_not ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:bool>" , value = True ) <EOL> def p_cond_expr_false ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:bool>" , value = False ) <EOL> def p_cond_expr_false_not ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:bool>" , value = False ) <EOL> def p_executable ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] , p [ <NUM_LIT:3> ] ] ) <EOL> def p_exec_declaration ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_exec_stmts ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = ( p [ <NUM_LIT:1> ] . children + [ p [ <NUM_LIT:2> ] ] ) ) <EOL> def p_exec_stmts_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , children = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_exec_stmt ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> def p_exec_module ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_exec_function ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:3> ] ) <EOL> def p_wcomma_list_indented ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = ( p [ <NUM_LIT:1> ] . value + p [ <NUM_LIT:4> ] . value ) ) <EOL> def p_wcomma_list_indented2 ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:2> ] . value ) <EOL> def p_wcomma_list ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:1> ] . value ) <EOL> def p_comma_words ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> p [ <NUM_LIT:0> ] . value . append ( p [ <NUM_LIT:3> ] ) <EOL> def p_comma_words_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_scomma_list_indented ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:1> ] . value ) <EOL> def p_scomma_list ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = p [ <NUM_LIT:1> ] . value ) <EOL> def p_indented_scomma_list ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> p [ <NUM_LIT:0> ] . value . extend ( p [ <NUM_LIT:4> ] . value ) <EOL> def p_indented_scomma_list_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:2> ] <EOL> def p_comma_strings ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = p [ <NUM_LIT:1> ] <EOL> p [ <NUM_LIT:0> ] . value . append ( p [ <NUM_LIT:3> ] ) <EOL> def p_comma_strings_term ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT>" , value = [ p [ <NUM_LIT:1> ] ] ) <EOL> def p_version ( p ) : <EOL> """<STR_LIT>""" <EOL> p [ <NUM_LIT:0> ] = Node ( "<STR_LIT:version>" , value = p [ <NUM_LIT:1> ] ) </s>
