Class: Puppet::Pops::Model::Literal

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

Direct Known Subclasses

LiteralDefault, LiteralUndef, LiteralValue

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, #to_s

Constructor Details

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

Class Method Details

._pcore_typeObject



3331
3332
3333
3334
3335
# File 'lib/puppet/pops/model/ast.rb', line 3331

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