C# Класс Akka.Configuration.Hocon.Parser

This class contains methods used to parse HOCON (Human-Optimized Config Object Notation) configuration strings.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Parse() публичный статический Метод

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
Результат Akka.Configuration.Hocon.HoconRoot

ParseArray() публичный Метод

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.
Результат HoconArray

ParseValue() публичный Метод

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.
Результат void