C# 클래스 Alsing.SourceCode.Pattern

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

공개 프로퍼티들

프로퍼티 타입 설명
BracketType BracketType
Category string
DefaultSeparators string
IsComplex bool
IsKeyword bool
IsMultiLineBracket bool
IsSeparator bool
LowerStringPattern string
MatchingBracket Pattern
Parent PatternList

공개 메소드들

메소드 설명
HasSeparators ( string text, int position ) : bool

For public use only

IndexIn ( string text, int startPosition, bool matchCase, string separators ) : PatternScanResult

Returns the index of the pattern in a string

Pattern ( string pattern, bool iscomplex ) : System.Text.RegularExpressions

Pattern ( string pattern, bool iscomplex, bool separator, bool keyword ) : System.Text.RegularExpressions

Pattern ( string pattern, bool separator, bool keyword, string escapeChar ) : System.Text.RegularExpressions

비공개 메소드들

메소드 설명
CharIsSeparator ( string Text, int Position ) : bool
ComplexFind ( string text, int startPosition ) : PatternScanResult
ComplexFindKeyword ( string text, int startPosition ) : PatternScanResult
Init ( string pattern, bool isComplex, bool separator, bool keyword ) : void
SimpleFind ( string text, int startPosition, bool matchCase ) : PatternScanResult
SimpleFindKeyword ( string text, int startPosition, bool matchCase ) : PatternScanResult

메소드 상세

HasSeparators() 공개 메소드

For public use only
public HasSeparators ( string text, int position ) : bool
text string
position int
리턴 bool

IndexIn() 공개 메소드

Returns the index of the pattern in a string
public IndexIn ( string text, int startPosition, bool matchCase, string separators ) : PatternScanResult
text string The string in which to find the pattern
startPosition int Start index in the string
matchCase bool true if a case sensitive match should be performed
separators string
리턴 PatternScanResult

Pattern() 공개 메소드

public Pattern ( string pattern, bool iscomplex ) : System.Text.RegularExpressions
pattern string
iscomplex bool
리턴 System.Text.RegularExpressions

Pattern() 공개 메소드

public Pattern ( string pattern, bool iscomplex, bool separator, bool keyword ) : System.Text.RegularExpressions
pattern string
iscomplex bool
separator bool
keyword bool
리턴 System.Text.RegularExpressions

Pattern() 공개 메소드

public Pattern ( string pattern, bool separator, bool keyword, string escapeChar ) : System.Text.RegularExpressions
pattern string
separator bool
keyword bool
escapeChar string
리턴 System.Text.RegularExpressions

프로퍼티 상세

BracketType 공개적으로 프로퍼티

public BracketType BracketType
리턴 BracketType

Category 공개적으로 프로퍼티

Category of the pattern Built in categories are: URL MAIL FILE
public string Category
리턴 string

DefaultSeparators 공개적으로 정적으로 프로퍼티

public static string DefaultSeparators
리턴 string

IsComplex 공개적으로 프로퍼티

Gets if the pattern is a simple string or a RegEx pattern
public bool IsComplex
리턴 bool

IsKeyword 공개적으로 프로퍼티

Get or Sets if this pattern needs separator chars before and after it in order to be valid.
public bool IsKeyword
리턴 bool

IsMultiLineBracket 공개적으로 프로퍼티

public bool IsMultiLineBracket
리턴 bool

IsSeparator 공개적으로 프로퍼티

Gets or Sets if the pattern is a separator pattern . A separator pattern can be "End Sub" in VB6 , whenever that pattern is found , the SyntaxBoxControl will render a horizontal separator line. NOTE: this should not be mixed up with separator chars.
public bool IsSeparator
리턴 bool

LowerStringPattern 공개적으로 프로퍼티

For internal use only
public string LowerStringPattern
리턴 string

MatchingBracket 공개적으로 프로퍼티

public Pattern MatchingBracket
리턴 Pattern

Parent 공개적으로 프로퍼티

The owning PatternList , eg a specific KeywordList or OperatorList
public PatternList,Alsing.SourceCode Parent
리턴 PatternList