Class: Puppet::Pops::Model::LiteralNumber

Inherits:
LiteralValue show all
Defined in:
lib/puppet/pops/model/ast.rb

Direct Known Subclasses

LiteralFloat, LiteralInteger

Instance Attribute Summary

Attributes inherited from Positioned

#length, #locator, #offset

Attributes inherited from PopsObject

#hash

Class Method Summary collapse

Methods inherited from Positioned

#_pcore_init_hash, create, #file, from_asserted_hash, from_hash, #initialize, #line, #pos

Methods inherited from PopsObject

#_pcore_all_contents, #_pcore_contents, #_pcore_init_hash, create, #eql?, from_asserted_hash, from_hash, #initialize, #to_s

Methods included from Types::PuppetObject

#_pcore_all_contents, #_pcore_contents, #_pcore_init_hash, #_pcore_type

Constructor Details

This class inherits a constructor from Puppet::Pops::Model::Positioned

Class Method Details

._pcore_typeObject



3337
3338
3339
3340
3341
# File 'lib/puppet/pops/model/ast.rb', line 3337

def self._pcore_type
  @_pcore_type ||= Types::PObjectType.new('Puppet::AST::LiteralNumber', {
    'parent' => LiteralValue._pcore_type
  })
end