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

This class contains methods used to tokenize a string.
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
Matches ( ) : bool

Determines whether any of the given patterns match the value at the current position of the tokenizer.

Matches ( string pattern ) : bool

Determines whether the given pattern matches the value at the current position of the tokenizer.

Peek ( ) : char

Retrieves the next character in the tokenizer without advancing its position.

Pop ( ) : void
PullWhitespace ( ) : void

Advances the tokenizer to the next non-whitespace character.

Push ( ) : void
Take ( ) : char

Retrieves the next character in the tokenizer.

Take ( int length ) : string

Retrieves a string of the given length from the current position of the tokenizer.

Tokenizer ( string text ) : System

Initializes a new instance of the Tokenizer class.

메소드 상세

Matches() 공개 메소드

Determines whether any of the given patterns match the value at the current position of the tokenizer.
public Matches ( ) : bool
리턴 bool

Matches() 공개 메소드

Determines whether the given pattern matches the value at the current position of the tokenizer.
public Matches ( string pattern ) : bool
pattern string The string that contains the characters to match.
리턴 bool

Peek() 공개 메소드

Retrieves the next character in the tokenizer without advancing its position.
public Peek ( ) : char
리턴 char

Pop() 공개 메소드

public Pop ( ) : void
리턴 void

PullWhitespace() 공개 메소드

Advances the tokenizer to the next non-whitespace character.
public PullWhitespace ( ) : void
리턴 void

Push() 공개 메소드

public Push ( ) : void
리턴 void

Take() 공개 메소드

Retrieves the next character in the tokenizer.
public Take ( ) : char
리턴 char

Take() 공개 메소드

Retrieves a string of the given length from the current position of the tokenizer.
public Take ( int length ) : string
length int The length of the string to return.
리턴 string

Tokenizer() 공개 메소드

Initializes a new instance of the Tokenizer class.
public Tokenizer ( string text ) : System
text string The string that contains the text to tokenize.
리턴 System