C# 클래스 SharpOS.Tools.Tokenizer

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

공개 프로퍼티들

프로퍼티 타입 설명
EndStringSeqType TokenType
EndStringSequence string
IgnoreWhitespace bool
PrimitiveDecider DPrimitiveDecider
SpecialTokens string[]
StringMode bool
Text string
WhitespaceChars char[]

보호된 프로퍼티들

프로퍼티 타입 설명
_Caret int
_CommentTokenPairs string[]
_Line int
_Queue List
_QuoteTokenPairs string[]

공개 메소드들

메소드 설명
GetLineInfo ( int &line, int &col ) : void
IsCommentToken ( string str, int cmpn ) : bool
IsQuoteToken ( string str ) : bool
IsQuoteToken ( string str, int cmpn ) : bool
IsSpecialToken ( string str ) : bool
MaybeCommentToken ( string str, int cmpn ) : bool
MaybeQuoteToken ( string str ) : bool
MaybeQuoteToken ( string str, int cmpn ) : bool
MaybeSpecialToken ( string str ) : bool
PutBack ( ) : void
PutBack ( Token t ) : void
PutBack ( bool reverse ) : void
Read ( ) : Token
Tokenizer ( string text, bool ignws ) : System

비공개 메소드들

메소드 설명
_Read ( ) : Token
_StringRead ( ) : Token

메소드 상세

GetLineInfo() 공개 메소드

public GetLineInfo ( int &line, int &col ) : void
line int
col int
리턴 void

IsCommentToken() 공개 메소드

public IsCommentToken ( string str, int cmpn ) : bool
str string
cmpn int
리턴 bool

IsQuoteToken() 공개 메소드

public IsQuoteToken ( string str ) : bool
str string
리턴 bool

IsQuoteToken() 공개 메소드

public IsQuoteToken ( string str, int cmpn ) : bool
str string
cmpn int
리턴 bool

IsSpecialToken() 공개 메소드

public IsSpecialToken ( string str ) : bool
str string
리턴 bool

MaybeCommentToken() 공개 메소드

public MaybeCommentToken ( string str, int cmpn ) : bool
str string
cmpn int
리턴 bool

MaybeQuoteToken() 공개 메소드

public MaybeQuoteToken ( string str ) : bool
str string
리턴 bool

MaybeQuoteToken() 공개 메소드

public MaybeQuoteToken ( string str, int cmpn ) : bool
str string
cmpn int
리턴 bool

MaybeSpecialToken() 공개 메소드

public MaybeSpecialToken ( string str ) : bool
str string
리턴 bool

PutBack() 공개 메소드

public PutBack ( ) : void
리턴 void

PutBack() 공개 메소드

public PutBack ( Token t ) : void
t Token
리턴 void

PutBack() 공개 메소드

public PutBack ( bool reverse ) : void
reverse bool
리턴 void

Read() 공개 메소드

public Read ( ) : Token
리턴 Token

Tokenizer() 공개 메소드

public Tokenizer ( string text, bool ignws ) : System
text string
ignws bool
리턴 System

프로퍼티 상세

EndStringSeqType 공개적으로 프로퍼티

public TokenType EndStringSeqType
리턴 TokenType

EndStringSequence 공개적으로 프로퍼티

public string EndStringSequence
리턴 string

IgnoreWhitespace 공개적으로 프로퍼티

public bool IgnoreWhitespace
리턴 bool

PrimitiveDecider 공개적으로 프로퍼티

public DPrimitiveDecider PrimitiveDecider
리턴 DPrimitiveDecider

SpecialTokens 공개적으로 프로퍼티

public string[] SpecialTokens
리턴 string[]

StringMode 공개적으로 프로퍼티

public bool StringMode
리턴 bool

Text 공개적으로 프로퍼티

public string Text
리턴 string

WhitespaceChars 공개적으로 프로퍼티

public char[] WhitespaceChars
리턴 char[]

_Caret 보호되어 있는 프로퍼티

protected int _Caret
리턴 int

_CommentTokenPairs 보호되어 있는 프로퍼티

protected string[] _CommentTokenPairs
리턴 string[]

_Line 보호되어 있는 프로퍼티

protected int _Line
리턴 int

_Queue 보호되어 있는 프로퍼티

protected List _Queue
리턴 List

_QuoteTokenPairs 보호되어 있는 프로퍼티

protected string[] _QuoteTokenPairs
리턴 string[]