Class: BoolType
Direct Known Subclasses
Instance Method Summary collapse
-
#check ⇒ Object
意味的誤りがあれば、文字列を返す.
- #get_type_str ⇒ Object
- #get_type_str_post ⇒ Object
- #show_tree(indent) ⇒ Object
Methods inherited from Type
#cast, #check_init, #check_struct_tag, #clear_max, #equal?, #get_ID_str, #get_bit_size, #get_original_type, #has_pointer?, #has_sized_pointer?, #has_unsized_string?, #initialize, #is_const?, #is_void?, #is_volatile?, #print_info, #print_info_post, print_info_post, reset_print_info, #set_qualifier, #set_scs
Methods inherited from Node
#cdl_error, #cdl_error2, #cdl_error3, #cdl_info, #cdl_info2, #cdl_warning, #cdl_warning2, #get_locale, #initialize, #locale_str, #set_locale
Constructor Details
This class inherits a constructor from Type
Instance Method Details
#check ⇒ Object
意味的誤りがあれば、文字列を返す
371 372 373 |
# File 'lib/tecsgen/core/types.rb', line 371 def check # 意味的誤りがあれば、文字列を返す nil end |
#get_type_str ⇒ Object
375 376 377 |
# File 'lib/tecsgen/core/types.rb', line 375 def get_type_str "#{super}bool_t" end |
#get_type_str_post ⇒ Object
379 380 381 |
# File 'lib/tecsgen/core/types.rb', line 379 def get_type_str_post "" end |
#show_tree(indent) ⇒ Object
383 384 385 386 387 |
# File 'lib/tecsgen/core/types.rb', line 383 def show_tree(indent) indent.times { print " " } puts "BoolType #{locale_str}" super(indent + 1) end |