Class: Hocon::Impl::Tokenizer

Inherits:
Object
  • Object
show all
Defined in:
lib/hocon/impl/tokenizer.rb

Defined Under Namespace

Classes: TokenIterator, TokenizerProblemError

Constant Summary collapse

Tokens =
Hocon::Impl::Tokens

Class Method Summary collapse

Class Method Details

.tokenize(origin, input, syntax) ⇒ Object



390
391
392
# File 'lib/hocon/impl/tokenizer.rb', line 390

def self.tokenize(origin, input, syntax)
  TokenIterator.new(origin, input, syntax != Hocon::ConfigSyntax::JSON)
end