Top Inners Constructors Methods
com.typesafe.config.impl

pack-priv final Class ConfigDocumentParser

extends Object
Class Inheritance
Imports
java.util.*, com.typesafe.config.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static ConfigNodeRoot
pack-priv static AbstractConfigNodeValue
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ConfigDocumentParserback to summary
pack-priv ConfigDocumentParser()

Method Detail

parseback to summary
pack-priv static ConfigNodeRoot parse(Iterator<Token> tokens, ConfigOrigin origin, ConfigParseOptions options)
parseValueback to summary
pack-priv static AbstractConfigNodeValue parseValue(Iterator<Token> tokens, ConfigOrigin origin, ConfigParseOptions options)
com.typesafe.config.impl back to summary

private final Class ConfigDocumentParser.ParseContext

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final ConfigOrigin
private final Stack<Token>
pack-priv int
private final String
private final ConfigSyntax
private int
private final Iterator<Token>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private String
addQuoteSuggestion(String badToken, String message)

private String
addQuoteSuggestion(Path lastPath, boolean insideEquals, String badToken, String message)

private boolean
private AbstractConfigNodeValue
private static boolean
private boolean
private static boolean
private Token
private Token
pack-priv ConfigNodeRoot
private ConfigNodeComplexValue
private ConfigException
parseError(String message)

private ConfigException
parseError(String message, Throwable cause)

private ConfigNodeInclude
private ConfigNodeInclude
parseIncludeResource(ArrayList<AbstractConfigNode> children, boolean isRequired)

private ConfigNodePath
parseKey(Token token)

private ConfigNodeComplexValue
parseObject(boolean hadOpenCurly)

pack-priv AbstractConfigNodeValue
private AbstractConfigNodeValue
private Token
private void
putBack(Token token)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

baseOriginback to summary
private final ConfigOrigin baseOrigin
bufferback to summary
private final Stack<Token> buffer
equalsCountback to summary
pack-priv int equalsCount
ExpectingClosingParenthesisErrorback to summary
private final String ExpectingClosingParenthesisError
flavorback to summary
private final ConfigSyntax flavor
lineNumberback to summary
private int lineNumber
tokensback to summary
private final Iterator<Token> tokens

Constructor Detail

ParseContextback to summary
pack-priv ParseContext(ConfigSyntax flavor, ConfigOrigin origin, Iterator<Token> tokens)

Method Detail

addQuoteSuggestionback to summary
private String addQuoteSuggestion(String badToken, String message)
addQuoteSuggestionback to summary
private String addQuoteSuggestion(Path lastPath, boolean insideEquals, String badToken, String message)
checkElementSeparatorback to summary
private boolean checkElementSeparator(Collection<AbstractConfigNode> nodes)
consolidateValuesback to summary
private AbstractConfigNodeValue consolidateValues(Collection<AbstractConfigNode> nodes)
isIncludeKeywordback to summary
private static boolean isIncludeKeyword(Token t)
isKeyValueSeparatorTokenback to summary
private boolean isKeyValueSeparatorToken(Token t)
isUnquotedWhitespaceback to summary
private static boolean isUnquotedWhitespace(Token t)
nextTokenback to summary
private Token nextToken()
nextTokenCollectingWhitespaceback to summary
private Token nextTokenCollectingWhitespace(Collection<AbstractConfigNode> nodes)
parseback to summary
pack-priv ConfigNodeRoot parse()
parseArrayback to summary
private ConfigNodeComplexValue parseArray()
parseErrorback to summary
private ConfigException parseError(String message)
parseErrorback to summary
private ConfigException parseError(String message, Throwable cause)
parseIncludeback to summary
private ConfigNodeInclude parseInclude(ArrayList<AbstractConfigNode> children)
parseIncludeResourceback to summary
private ConfigNodeInclude parseIncludeResource(ArrayList<AbstractConfigNode> children, boolean isRequired)
parseKeyback to summary
private ConfigNodePath parseKey(Token token)
parseObjectback to summary
private ConfigNodeComplexValue parseObject(boolean hadOpenCurly)
parseSingleValueback to summary
pack-priv AbstractConfigNodeValue parseSingleValue()
parseValueback to summary
private AbstractConfigNodeValue parseValue(Token t)
popTokenback to summary
private Token popToken()
putBackback to summary
private void putBack(Token token)