Class: Ruby::Rego::AST::NullLiteral
- Defined in:
- lib/ruby/rego/ast/literal.rb
Overview
Represents a null literal.
Instance Attribute Summary
Attributes inherited from Literal
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(location: nil) ⇒ NullLiteral
constructor
A new instance of NullLiteral.
Methods inherited from Base
#==, #accept, #deconstruct_keys, #eql?, format_value, #hash, #to_s
Constructor Details
#initialize(location: nil) ⇒ NullLiteral
Returns a new instance of NullLiteral.
64 65 66 |
# File 'lib/ruby/rego/ast/literal.rb', line 64 def initialize(location: nil) super(value: nil, location: location) end |