class Hocon::Impl::ConfigDocumentParser
Constants
- ArrayIterator
- ConfigBugOrBrokenError
- ConfigImplUtil
- ConfigIncludeKind
- ConfigNodeArray
- ConfigNodeField
- ConfigNodeInclude
- ConfigNodeObject
- ConfigNodeRoot
- ConfigNodeSimpleValue
- ConfigNodeSingleToken
- ConfigParseError
- ConfigSyntax
- ConfigValueType
-
The type of a configuration value (following the <a href=“json.org”>JSON</a> type schema).
- PathParser
- Tokens
Public Class Methods
Source
# File lib/hocon/impl/config_document_parser.rb, line 35 def self.parse(tokens, origin, options) syntax = options.syntax.nil? ? ConfigSyntax::CONF : options.syntax context = Hocon::Impl::ConfigDocumentParser::ParseContext.new(syntax, origin, tokens) context.parse end
Source
# File lib/hocon/impl/config_document_parser.rb, line 41 def self.parse_value(tokens, origin, options) syntax = options.syntax.nil? ? ConfigSyntax::CONF : options.syntax context = Hocon::Impl::ConfigDocumentParser::ParseContext.new(syntax, origin, tokens) context.parse_single_value end