C# Class Akka.Configuration.Hocon.Tokenizer

This class contains methods used to tokenize a string.
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
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.

Method Details

Matches() public méthode

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

Matches() public méthode

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.
Résultat bool

Peek() public méthode

Retrieves the next character in the tokenizer without advancing its position.
public Peek ( ) : char
Résultat char

Pop() public méthode

public Pop ( ) : void
Résultat void

PullWhitespace() public méthode

Advances the tokenizer to the next non-whitespace character.
public PullWhitespace ( ) : void
Résultat void

Push() public méthode

public Push ( ) : void
Résultat void

Take() public méthode

Retrieves the next character in the tokenizer.
public Take ( ) : char
Résultat char

Take() public méthode

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.
Résultat string

Tokenizer() public méthode

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