C# 클래스 Peg.Base.PegBaseParser

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

보호된 프로퍼티들

프로퍼티 타입 설명
bMute_ bool
errOut_ System.IO.TextWriter
nodeCreator_ Creator
pos_ int
srcLen_ int

공개 메소드들

메소드 설명
AddTreeNode ( int nId, PegTree newAddPolicy, Creator createNode, ECreatorPhase ePhase ) : void
And ( Matcher pegSequence ) : bool
Any ( ) : bool
Construct ( TextWriter Fout ) : void
ForRepeat ( int count, Matcher toRepeat ) : bool
ForRepeat ( int lower, int upper, Matcher toRepeat ) : bool
GetProperties ( EncodingClass &encoding, UnicodeDetection &detection ) : void
GetRoot ( ) : PegNode
GetRuleNameFromId ( int id ) : string
Not ( Matcher toMatch ) : bool
OptRepeat ( Matcher toRepeat ) : bool
Option ( Matcher toMatch ) : bool
Peek ( Matcher toMatch ) : bool
PegBaseParser ( TextWriter errOut ) : System
PlusRepeat ( Matcher toRepeat ) : bool
ResetTree ( ) : void
RestoreTree ( PegNode prevCur, PegTree prevPolicy ) : void
Rewind ( ) : void
SetErrorDestination ( TextWriter errOut ) : void
SetNodeCreator ( Creator nodeCreator ) : void
TreeAST ( Creator nodeCreator, Matcher toMatch ) : bool
TreeAST ( Creator nodeCreator, int nRuleId, Matcher toMatch ) : bool
TreeAST ( Matcher toMatch ) : bool
TreeAST ( int nRuleId, Matcher toMatch ) : bool
TreeChars ( Creator nodeCreator, Matcher toMatch ) : bool
TreeChars ( Matcher toMatch ) : bool
TreeCharsWithId ( Creator nodeCreator, int nId, Matcher toMatch ) : bool
TreeCharsWithId ( int nId, Matcher toMatch ) : bool
TreeNT ( Creator nodeCreator, Matcher toMatch ) : bool
TreeNT ( Creator nodeCreator, int nRuleId, Matcher toMatch ) : bool
TreeNT ( Matcher toMatch ) : bool
TreeNT ( int nRuleId, Matcher toMatch ) : bool
TreeNodeToString ( PegNode node ) : string

보호된 메소드들

메소드 설명
DefaultNodeCreator ( ECreatorPhase phase, PegNode parentOrCreated, int id ) : PegNode

메소드 상세

AddTreeNode() 공개 메소드

public AddTreeNode ( int nId, PegTree newAddPolicy, Creator createNode, ECreatorPhase ePhase ) : void
nId int
newAddPolicy PegTree
createNode Creator
ePhase ECreatorPhase
리턴 void

And() 공개 메소드

public And ( Matcher pegSequence ) : bool
pegSequence Matcher
리턴 bool

Any() 공개 메소드

public Any ( ) : bool
리턴 bool

Construct() 공개 메소드

public Construct ( TextWriter Fout ) : void
Fout System.IO.TextWriter
리턴 void

DefaultNodeCreator() 보호된 메소드

protected DefaultNodeCreator ( ECreatorPhase phase, PegNode parentOrCreated, int id ) : PegNode
phase ECreatorPhase
parentOrCreated PegNode
id int
리턴 PegNode

ForRepeat() 공개 메소드

public ForRepeat ( int count, Matcher toRepeat ) : bool
count int
toRepeat Matcher
리턴 bool

ForRepeat() 공개 메소드

public ForRepeat ( int lower, int upper, Matcher toRepeat ) : bool
lower int
upper int
toRepeat Matcher
리턴 bool

GetProperties() 공개 메소드

public GetProperties ( EncodingClass &encoding, UnicodeDetection &detection ) : void
encoding EncodingClass
detection UnicodeDetection
리턴 void

GetRoot() 공개 메소드

public GetRoot ( ) : PegNode
리턴 PegNode

GetRuleNameFromId() 공개 메소드

public GetRuleNameFromId ( int id ) : string
id int
리턴 string

Not() 공개 메소드

public Not ( Matcher toMatch ) : bool
toMatch Matcher
리턴 bool

OptRepeat() 공개 메소드

public OptRepeat ( Matcher toRepeat ) : bool
toRepeat Matcher
리턴 bool

Option() 공개 메소드

public Option ( Matcher toMatch ) : bool
toMatch Matcher
리턴 bool

Peek() 공개 메소드

public Peek ( Matcher toMatch ) : bool
toMatch Matcher
리턴 bool

PegBaseParser() 공개 메소드

public PegBaseParser ( TextWriter errOut ) : System
errOut System.IO.TextWriter
리턴 System

PlusRepeat() 공개 메소드

public PlusRepeat ( Matcher toRepeat ) : bool
toRepeat Matcher
리턴 bool

ResetTree() 공개 메소드

public ResetTree ( ) : void
리턴 void

RestoreTree() 공개 메소드

public RestoreTree ( PegNode prevCur, PegTree prevPolicy ) : void
prevCur PegNode
prevPolicy PegTree
리턴 void

Rewind() 공개 메소드

public Rewind ( ) : void
리턴 void

SetErrorDestination() 공개 메소드

public SetErrorDestination ( TextWriter errOut ) : void
errOut System.IO.TextWriter
리턴 void

SetNodeCreator() 공개 메소드

public SetNodeCreator ( Creator nodeCreator ) : void
nodeCreator Creator
리턴 void

TreeAST() 공개 메소드

public TreeAST ( Creator nodeCreator, Matcher toMatch ) : bool
nodeCreator Creator
toMatch Matcher
리턴 bool

TreeAST() 공개 메소드

public TreeAST ( Creator nodeCreator, int nRuleId, Matcher toMatch ) : bool
nodeCreator Creator
nRuleId int
toMatch Matcher
리턴 bool

TreeAST() 공개 메소드

public TreeAST ( Matcher toMatch ) : bool
toMatch Matcher
리턴 bool

TreeAST() 공개 메소드

public TreeAST ( int nRuleId, Matcher toMatch ) : bool
nRuleId int
toMatch Matcher
리턴 bool

TreeChars() 공개 메소드

public TreeChars ( Creator nodeCreator, Matcher toMatch ) : bool
nodeCreator Creator
toMatch Matcher
리턴 bool

TreeChars() 공개 메소드

public TreeChars ( Matcher toMatch ) : bool
toMatch Matcher
리턴 bool

TreeCharsWithId() 공개 메소드

public TreeCharsWithId ( Creator nodeCreator, int nId, Matcher toMatch ) : bool
nodeCreator Creator
nId int
toMatch Matcher
리턴 bool

TreeCharsWithId() 공개 메소드

public TreeCharsWithId ( int nId, Matcher toMatch ) : bool
nId int
toMatch Matcher
리턴 bool

TreeNT() 공개 메소드

public TreeNT ( Creator nodeCreator, Matcher toMatch ) : bool
nodeCreator Creator
toMatch Matcher
리턴 bool

TreeNT() 공개 메소드

public TreeNT ( Creator nodeCreator, int nRuleId, Matcher toMatch ) : bool
nodeCreator Creator
nRuleId int
toMatch Matcher
리턴 bool

TreeNT() 공개 메소드

public TreeNT ( Matcher toMatch ) : bool
toMatch Matcher
리턴 bool

TreeNT() 공개 메소드

public TreeNT ( int nRuleId, Matcher toMatch ) : bool
nRuleId int
toMatch Matcher
리턴 bool

TreeNodeToString() 공개 메소드

public TreeNodeToString ( PegNode node ) : string
node PegNode
리턴 string

프로퍼티 상세

bMute_ 보호되어 있는 프로퍼티

protected bool bMute_
리턴 bool

errOut_ 보호되어 있는 프로퍼티

protected TextWriter,System.IO errOut_
리턴 System.IO.TextWriter

nodeCreator_ 보호되어 있는 프로퍼티

protected Creator nodeCreator_
리턴 Creator

pos_ 보호되어 있는 프로퍼티

protected int pos_
리턴 int

srcLen_ 보호되어 있는 프로퍼티

protected int srcLen_
리턴 int