C# Class Akka.Configuration.Hocon.Parser

This class contains methods used to parse HOCON (Human-Optimized Config Object Notation) configuration strings.
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
Parse ( string text, HoconRoot>.Func includeCallback ) : Akka.Configuration.Hocon.HoconRoot

Parses the supplied HOCON configuration string into a root element.

ParseArray ( string currentPath ) : HoconArray

Retrieves the next array token from the tokenizer.

ParseValue ( HoconValue owner, string currentPath ) : void

Retrieves the next value token from the tokenizer and appends it to the supplied element owner.

Private Methods

Méthode Description
IgnoreComma ( ) : void
ParseKeyContent ( HoconValue value, string currentPath ) : void
ParseObject ( HoconValue owner, bool root, string currentPath ) : void
ParseSubstitution ( string value ) : Akka.Configuration.Hocon.HoconSubstitution
ParseText ( string text, HoconRoot>.Func includeCallback ) : Akka.Configuration.Hocon.HoconRoot
ParseTrailingWhitespace ( HoconValue owner ) : void

Method Details

Parse() public static méthode

Parses the supplied HOCON configuration string into a root element.
/// This exception is thrown when an unresolved substitution is encountered. /// It also occurs when the end of the file has been reached while trying /// to read a value. ///
public static Parse ( string text, HoconRoot>.Func includeCallback ) : Akka.Configuration.Hocon.HoconRoot
text string The string that contains a HOCON configuration string.
includeCallback HoconRoot>.Func Callback used to resolve includes
Résultat Akka.Configuration.Hocon.HoconRoot

ParseArray() public méthode

Retrieves the next array token from the tokenizer.
public ParseArray ( string currentPath ) : HoconArray
currentPath string The location in the HOCON object hierarchy that the parser is currently reading.
Résultat HoconArray

ParseValue() public méthode

Retrieves the next value token from the tokenizer and appends it to the supplied element owner.
End of file reached while trying to read a value
public ParseValue ( HoconValue owner, string currentPath ) : void
owner HoconValue The element to append the next token.
currentPath string The location in the HOCON object hierarchy that the parser is currently reading.
Résultat void