Top Inners Fields Constructors Methods
com.typesafe.config.impl

pack-priv final Class PathParser

extends Object
Class Inheritance
Imports
com.typesafe.config.ConfigException, .ConfigOrigin, .ConfigSyntax, .ConfigValueType, java.io.StringReader, java.util.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv static ConfigOrigin

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static void
addPathText(List<PathParser.Element> buf, boolean wasQuoted, String newText)

private static Path
fastPathBuild(Path tail, String s, int end)

private static boolean
pack-priv static Path
protected static Path
protected static Path
parsePathExpression(Iterator<Token> expression, ConfigOrigin origin, String originalText)

protected static Path
parsePathExpression(Iterator<Token> expression, ConfigOrigin origin, String originalText, ArrayList<Token> pathTokens, ConfigSyntax flavor)

pack-priv static ConfigNodePath
pack-priv static ConfigNodePath
protected static ConfigNodePath
protected static ConfigNodePath
parsePathNodeExpression(Iterator<Token> expression, ConfigOrigin origin, String originalText, ConfigSyntax flavor)

private static Path
private static Collection<Token>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

apiOriginback to summary
pack-priv static ConfigOrigin apiOrigin

Constructor Detail

PathParserback to summary
pack-priv PathParser()

Method Detail

addPathTextback to summary
private static void addPathText(List<PathParser.Element> buf, boolean wasQuoted, String newText)
fastPathBuildback to summary
private static Path fastPathBuild(Path tail, String s, int end)
looksUnsafeForFastParserback to summary
private static boolean looksUnsafeForFastParser(String s)
parsePathback to summary
pack-priv static Path parsePath(String path)
parsePathExpressionback to summary
protected static Path parsePathExpression(Iterator<Token> expression, ConfigOrigin origin)
parsePathExpressionback to summary
protected static Path parsePathExpression(Iterator<Token> expression, ConfigOrigin origin, String originalText)
parsePathExpressionback to summary
protected static Path parsePathExpression(Iterator<Token> expression, ConfigOrigin origin, String originalText, ArrayList<Token> pathTokens, ConfigSyntax flavor)
parsePathNodeback to summary
pack-priv static ConfigNodePath parsePathNode(String path)
parsePathNodeback to summary
pack-priv static ConfigNodePath parsePathNode(String path, ConfigSyntax flavor)
parsePathNodeExpressionback to summary
protected static ConfigNodePath parsePathNodeExpression(Iterator<Token> expression, ConfigOrigin origin)
parsePathNodeExpressionback to summary
protected static ConfigNodePath parsePathNodeExpression(Iterator<Token> expression, ConfigOrigin origin, String originalText, ConfigSyntax flavor)
speculativeFastParsePathback to summary
private static Path speculativeFastParsePath(String path)
splitTokenOnPeriodback to summary
private static Collection<Token> splitTokenOnPeriod(Token t, ConfigSyntax flavor)
com.typesafe.config.impl back to summary

pack-priv Class PathParser.Element

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv StringBuilder

Constructor Summary

AccessConstructor and Description
pack-priv
Element(String initial, boolean canBeEmpty)

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

canBeEmptyback to summary
pack-priv boolean canBeEmpty
sbback to summary
pack-priv StringBuilder sb

Constructor Detail

Elementback to summary
pack-priv Element(String initial, boolean canBeEmpty)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override