C# Class Kooboo.Commerce.Rules.Conditions.Parsing.SourceReader

Afficher le fichier Open project: Kooboo/Ecommerce Class Usage Examples

Méthodes publiques

Méthode Description
BeginLookahead ( ) : Lookahead

After the call to BeginLookahead, future reads will be cancelled if the lookahead is not accepted before it's disposed.

MoveNext ( ) : void
Peek ( ) : char
Read ( string expected ) : bool

Try reading the expected string. If the expected string is sucessfully read, return true and move the cursor. Otherwise return false and move back the cursor.

Read ( ) : char
SkipWhile ( Predicate predicate ) : void
SourceReader ( string source ) : System

Method Details

BeginLookahead() public méthode

After the call to BeginLookahead, future reads will be cancelled if the lookahead is not accepted before it's disposed.
public BeginLookahead ( ) : Lookahead
Résultat Lookahead

MoveNext() public méthode

public MoveNext ( ) : void
Résultat void

Peek() public méthode

public Peek ( ) : char
Résultat char

Read() public méthode

Try reading the expected string. If the expected string is sucessfully read, return true and move the cursor. Otherwise return false and move back the cursor.
public Read ( string expected ) : bool
expected string
Résultat bool

Read() public méthode

public Read ( ) : char
Résultat char

SkipWhile() public méthode

public SkipWhile ( Predicate predicate ) : void
predicate Predicate
Résultat void

SourceReader() public méthode

public SourceReader ( string source ) : System
source string
Résultat System