Class: BuildTool::Cfg::Parser
- Defined in:
- lib/build-tool/cfg/parser.rb
Constant Summary collapse
- Racc_arg =
[ racc_action_table, racc_action_check, racc_action_default, racc_action_pointer, racc_goto_table, racc_goto_check, racc_goto_default, racc_goto_pointer, racc_nt_base, racc_reduce_table, racc_token_table, racc_shift_n, racc_reduce_n, racc_use_result_var ]
- Racc_token_to_s_table =
[ '$end', 'error', 'APPEND', 'APPLY', 'ARCHIVE', 'BUILD_PREFIX', 'BUILD_SYSTEM', 'DESCRIPTION', 'DISABLE', 'ENABLE', 'END', 'ENVIRONMENT', 'EXTERNAL', 'FEATURE', 'FILE', 'GIT', 'GIT_SVN', 'HOST', 'INCLUDE', 'INHERITANCE', 'INPLACE', 'INSTALL_PREFIX', 'LOCAL_PATH', 'LOG_DIRECTORY', 'LONG', 'MODULE', 'ONLY', 'OPTION', 'PATCH', 'PATH', 'PREPEND', 'PROTOCOL', 'REMOTE', 'REMOTE_PATH', 'REPOSITORY', 'SERVER', 'SET', 'SHORT', 'SSH_KEY', 'STRING', 'SVN', 'TEMPLATE', 'TOKEN', 'TRACK_BRANCH', 'USE', 'USER', 'VAR', 'VCS', '$start', 'main', 'top_level_statements', 'identifier', 'inheritance', 'top_level_statement', 'statement', 'build_system_declaration', 'environment_declaration', 'module_declaration', 'repository_declaration', 'server_declaration', 'ssh_key_declaration', 'include_directive', 'feature_declaration', 'vcs_declaration', 'git_declaration', 'svn_declaration', 'git_svn_declaration', 'archive_declaration', 'archive_statements', 'build_system_statements', 'build_system_statement', 'environment_statements', 'environment_statement', 'feature_statements', 'feature_statement', 'multiline_string', 'git_statements', 'git_statement', 'repository_statements', 'git_svn_statements', 'git_svn_statement', 'module_statements', 'module_statement', 'repository_statement', 'server_statements', 'server_statement', 'ssh_key_statements', 'ssh_key_statement', 'svn_statements', 'svn_statement']
- Racc_debug_parser =
false
Instance Attribute Summary
Attributes inherited from Lexer
Instance Method Summary collapse
Methods inherited from Lexer
#_next_token, #action, #do_parse, #load_file, #next_token, #scan_file, #scan_setup, #scan_str
Methods included from LexerBase
#error, included, #next_token, #on_error, #parse_string, #peek, #pre_match
Instance Method Details
#_reduce_none(val, _values, result) ⇒ Object
1145 1146 1147 |
# File 'lib/build-tool/cfg/parser.rb', line 1145 def _reduce_none( val, _values, result ) result end |