C# 클래스 Akka.Configuration.Hocon.Parser

This class contains methods used to parse HOCON (Human-Optimized Config Object Notation) configuration strings.
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
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