C# 클래스 Kooboo.Commerce.Rules.Conditions.Parsing.SourceReader

파일 보기 프로젝트 열기: Kooboo/Ecommerce 1 사용 예제들

공개 메소드들

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