Class: Rubycc::Front::AST::BuiltinUnreachable

Inherits:
Data
  • Object
show all
Defined in:
lib/rubycc/front/ast.rb

Overview

"__builtin_unreachable ()": marks a point control never reaches, typed void. rubycc performs no optimization, so it lowers to no code at all — its only role is to let constructs like CRuby's UNREACHABLE_RETURN ("(__builtin_unreachable(), value)") compile. token is the keyword.

Instance Attribute Summary collapse

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



454
455
456
# File 'lib/rubycc/front/ast.rb', line 454

def token
  @token
end