C# Класс Kooboo.Commerce.Rules.Conditions.Parsing.SourceReader

Показать файл Открыть проект Примеры использования класса

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

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

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

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

After the call to BeginLookahead, future reads will be cancelled if the lookahead is not accepted before it's disposed.
public BeginLookahead ( ) : Lookahead
Результат Lookahead

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

public MoveNext ( ) : void
Результат void

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

public Peek ( ) : char
Результат char

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

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

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

public Read ( ) : char
Результат char

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

public SkipWhile ( Predicate predicate ) : void
predicate Predicate
Результат void

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

public SourceReader ( string source ) : System
source string
Результат System