class AdLint::CompilerTraits::Arithmetic

DESCRIPTION

Traits information of arithmetic process.

Attributes

logical_right_shift[R]

VALUE

Boolean – The flag value indicates the right shift operation is logical.

Public Class Methods

new(doc) click to toggle source
# File lib/adlint/traits.rb, line 428
def initialize(doc)
  @logical_right_shift = doc["logical_right_shift"]
end

Public Instance Methods

entity_name() click to toggle source
# File lib/adlint/traits.rb, line 432
def entity_name
  "compiler_traits:arithmetic"
end
freeze() click to toggle source
Calls superclass method
# File lib/adlint/traits.rb, line 442
def freeze
  @logical_right_shift.freeze
  super
end