#include "token.h"
Public Types | |
enum | end_tok_type { simple_end , arguments_end , classdef_end , enumeration_end , events_end , for_end , function_end , if_end , methods_end , parfor_end , properties_end , switch_end , try_catch_end , unwind_protect_end , spmd_end , while_end } |
enum | token_type { invalid_token , generic_token , keyword_token , string_token , numeric_token , ettype_token , scls_name_token } |
enum token::end_tok_type |
enum token::token_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 128 of file token.h.
Referenced by tree_arguments_block::beg_pos(), tree_superclass_ref::beg_pos(), tree_metaclass_query::beg_pos(), tree_classdef_attribute::beg_pos(), tree_classdef_block< T >::beg_pos(), tree_classdef::beg_pos(), tree_no_op_command::beg_pos(), tree_constant::beg_pos(), tree_decl_command::beg_pos(), tree_try_catch_command::beg_pos(), tree_unwind_protect_command::beg_pos(), tree_anon_fcn_handle::beg_pos(), tree_identifier::beg_pos(), tree_while_command::beg_pos(), tree_do_until_command::beg_pos(), tree_simple_for_command::beg_pos(), tree_complex_for_command::beg_pos(), tree_parameter_list::beg_pos(), tree_if_clause::beg_pos(), tree_if_command::beg_pos(), tree_switch_case::beg_pos(), tree_switch_command::beg_pos(), tree_spmd_command::beg_pos(), tree_prefix_expression::beg_pos(), base_parser::end_token_error(), base_parser::finish_array_list(), base_parser::finish_cell(), base_parser::finish_matrix(), base_parser::make_anon_fcn_handle(), base_parser::make_assign_op(), and base_parser::make_decl_command().
|
inline |
Definition at line 129 of file token.h.
Referenced by tree_arguments_block::end_pos(), tree_superclass_ref::end_pos(), tree_metaclass_query::end_pos(), tree_classdef_block< T >::end_pos(), tree_classdef::end_pos(), tree_no_op_command::end_pos(), tree_constant::end_pos(), tree_try_catch_command::end_pos(), tree_unwind_protect_command::end_pos(), tree_identifier::end_pos(), tree_index_expression::end_pos(), tree_while_command::end_pos(), tree_simple_for_command::end_pos(), tree_complex_for_command::end_pos(), tree_parameter_list::end_pos(), tree_if_command::end_pos(), tree_switch_command::end_pos(), tree_spmd_command::end_pos(), tree_postfix_expression::end_pos(), base_parser::finish_array_list(), base_parser::finish_cell(), base_parser::finish_matrix(), and tree_no_op_command::update_end_pos().
|
inline |
Definition at line 154 of file token.h.
Referenced by base_parser::end_token_error(), and base_parser::end_token_ok().
|
inline |
Definition at line 144 of file token.h.
Referenced by lexical_feedback::previous_token_is_keyword().
|
inline |
Definition at line 134 of file token.h.
Referenced by base_parser::finish_classdef_file(), tree_base_classdef_block::leading_comments(), tree_classdef::leading_comments(), tree_no_op_command::leading_comments(), tree_identifier::leading_comments(), tree_if_clause::leading_comments(), tree_if_command::leading_comments(), tree_switch_case::leading_comments(), tree_switch_command::leading_comments(), base_parser::make_classdef_properties_block(), and base_parser::make_function().
|
inline |
|
inline |
Definition at line 112 of file token.h.
Referenced by base_lexer::handle_identifier().
|
inline |
Definition at line 115 of file token.h.
Referenced by lexical_feedback::mark_previous_token_trailing_space().
|
inline |
Definition at line 113 of file token.h.
Referenced by lexical_feedback::previous_token_may_be_command().
|
inline |
Definition at line 152 of file token.h.
Referenced by base_lexer::display_token(), and base_parser::make_constant().
|
inline |
Definition at line 116 of file token.h.
Referenced by lexical_feedback::space_follows_previous_token().
|
inline |
Definition at line 157 of file token.h.
Referenced by base_parser::make_superclass_ref().
|
inline |
Definition at line 156 of file token.h.
Referenced by base_parser::make_superclass_ref().
|
inline |
Definition at line 151 of file token.h.
Referenced by tree_index_expression::append(), tree_classdef_superclass::class_name(), base_lexer::display_token(), base_parser::make_constant(), and base_parser::make_metaclass_query().
|
inline |
Definition at line 159 of file token.h.
Referenced by base_parser::make_constant().
|
inline |
Definition at line 120 of file token.h.
Referenced by separator_list::first_sep_char(), base_lexer::handle_token(), base_parser::make_assign_op(), base_parser::make_binary_op(), base_parser::make_boolean_op(), base_parser::make_constant(), base_parser::make_decl_command(), base_parser::make_for_command(), base_parser::make_postfix_op(), base_parser::make_prefix_op(), lexical_feedback::previous_token_id(), base_parser::set_stmt_print_flag(), base_lexer::syntax_error(), and token_is().
Definition at line 123 of file token.h.
References token_id().
Definition at line 122 of file token.h.
Referenced by lexical_feedback::previous_token_is(), and lexical_feedback::previous_token_is().
|
inline |
Definition at line 135 of file token.h.
Referenced by tree_no_op_command::attach_trailing_comments(), and tree_no_op_command::trailing_comments().
|
inline |
|
inline |