C# 클래스 Encog.Util.SimpleParser

A very simple text parser.
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
Advance ( ) : void

Advance beyond the next character.

Advance ( int p ) : void

Advance the specified number of characters.

EOL ( ) : bool

Returns true of there are no more characters to read.

EatWhiteSpace ( ) : void

Strip any white space from the current position.

IsIdentifier ( ) : bool

CHeck to see if the next character is an identifier.

IsWhiteSpace ( ) : bool

Returns true if the next character is a white space.

LookAhead ( String str, bool ignoreCase ) : bool

Look ahead to see if the specified string is present.

Mark ( ) : void

Mark the current position.

ParseThroughComma ( ) : bool

Parse through a comma.

Peek ( ) : char

Peek ahead to see the next character. But do not advance beyond it.

ReadChar ( ) : char

Read the next character.

ReadQuotedString ( ) : String

Read a quoted string.

ReadToWhiteSpace ( ) : String

Read text up to the next white space.

Remaining ( ) : int

The number of characters remaining.

Reset ( ) : void

Reset back to the marked position.

SimpleParser ( String line ) : System

Construct the object for the specified line.

메소드 상세

Advance() 공개 메소드

Advance beyond the next character.
public Advance ( ) : void
리턴 void

Advance() 공개 메소드

Advance the specified number of characters.
public Advance ( int p ) : void
p int The number of characters to advance.
리턴 void

EOL() 공개 메소드

Returns true of there are no more characters to read.
public EOL ( ) : bool
리턴 bool

EatWhiteSpace() 공개 메소드

Strip any white space from the current position.
public EatWhiteSpace ( ) : void
리턴 void

IsIdentifier() 공개 메소드

CHeck to see if the next character is an identifier.
public IsIdentifier ( ) : bool
리턴 bool

IsWhiteSpace() 공개 메소드

Returns true if the next character is a white space.
public IsWhiteSpace ( ) : bool
리턴 bool

LookAhead() 공개 메소드

Look ahead to see if the specified string is present.
public LookAhead ( String str, bool ignoreCase ) : bool
str String The string searching for.
ignoreCase bool True if case is to be ignored.
리턴 bool

Mark() 공개 메소드

Mark the current position.
public Mark ( ) : void
리턴 void

ParseThroughComma() 공개 메소드

Parse through a comma.
public ParseThroughComma ( ) : bool
리턴 bool

Peek() 공개 메소드

Peek ahead to see the next character. But do not advance beyond it.
public Peek ( ) : char
리턴 char

ReadChar() 공개 메소드

Read the next character.
public ReadChar ( ) : char
리턴 char

ReadQuotedString() 공개 메소드

Read a quoted string.
public ReadQuotedString ( ) : String
리턴 String

ReadToWhiteSpace() 공개 메소드

Read text up to the next white space.
public ReadToWhiteSpace ( ) : String
리턴 String

Remaining() 공개 메소드

The number of characters remaining.
public Remaining ( ) : int
리턴 int

Reset() 공개 메소드

Reset back to the marked position.
public Reset ( ) : void
리턴 void

SimpleParser() 공개 메소드

Construct the object for the specified line.
public SimpleParser ( String line ) : System
line String The line to parse.
리턴 System