403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.142.98.153
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops//semantic_error.rb
# Error that is used to raise an Issue. See {Puppet::Pops::Issues}.
#
class Puppet::Pops::SemanticError < RuntimeError
  attr_accessor :issue
  attr_accessor :semantic
  attr_accessor :options

  # @param issue [Puppet::Pops::Issues::Issue] the issue describing the severity and message
  # @param semantic [Puppet::Pops::Model::Locatable, nil] the expression causing the failure, or nil if unknown
  # @param options [Hash] an options hash with Symbol to value mapping - these are the arguments to the issue
  #
  def initialize(issue, semantic=nil, options = {})
    @issue = issue
    @semantic = semantic
    @options = options
  end

  def file
    @options[:file]
  end

  def line
    @options[:line]
  end

  def pos
    @options[:pos]
  end
end

Youez - 2016 - github.com/yon3zu
LinuXploit