C# Class Peg.Base.PegBaseParser

Afficher le fichier Open project: Andos/BinaryFileSchema Class Usage Examples

Protected Properties

Свойство Type Description
bMute_ bool
errOut_ System.IO.TextWriter
nodeCreator_ Creator
pos_ int
srcLen_ int

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
DefaultNodeCreator ( ECreatorPhase phase, PegNode parentOrCreated, int id ) : PegNode

Method Details

AddTreeNode() public méthode

public AddTreeNode ( int nId, PegTree newAddPolicy, Creator createNode, ECreatorPhase ePhase ) : void
nId int
newAddPolicy PegTree
createNode Creator
ePhase ECreatorPhase
Résultat void

And() public méthode

public And ( Matcher pegSequence ) : bool
pegSequence Matcher
Résultat bool

Any() public méthode

public Any ( ) : bool
Résultat bool

Construct() public méthode

public Construct ( TextWriter Fout ) : void
Fout System.IO.TextWriter
Résultat void

DefaultNodeCreator() protected méthode

protected DefaultNodeCreator ( ECreatorPhase phase, PegNode parentOrCreated, int id ) : PegNode
phase ECreatorPhase
parentOrCreated PegNode
id int
Résultat PegNode

ForRepeat() public méthode

public ForRepeat ( int count, Matcher toRepeat ) : bool
count int
toRepeat Matcher
Résultat bool

ForRepeat() public méthode

public ForRepeat ( int lower, int upper, Matcher toRepeat ) : bool
lower int
upper int
toRepeat Matcher
Résultat bool

GetProperties() public méthode

public GetProperties ( EncodingClass &encoding, UnicodeDetection &detection ) : void
encoding EncodingClass
detection UnicodeDetection
Résultat void

GetRoot() public méthode

public GetRoot ( ) : PegNode
Résultat PegNode

GetRuleNameFromId() public méthode

public GetRuleNameFromId ( int id ) : string
id int
Résultat string

Not() public méthode

public Not ( Matcher toMatch ) : bool
toMatch Matcher
Résultat bool

OptRepeat() public méthode

public OptRepeat ( Matcher toRepeat ) : bool
toRepeat Matcher
Résultat bool

Option() public méthode

public Option ( Matcher toMatch ) : bool
toMatch Matcher
Résultat bool

Peek() public méthode

public Peek ( Matcher toMatch ) : bool
toMatch Matcher
Résultat bool

PegBaseParser() public méthode

public PegBaseParser ( TextWriter errOut ) : System
errOut System.IO.TextWriter
Résultat System

PlusRepeat() public méthode

public PlusRepeat ( Matcher toRepeat ) : bool
toRepeat Matcher
Résultat bool

ResetTree() public méthode

public ResetTree ( ) : void
Résultat void

RestoreTree() public méthode

public RestoreTree ( PegNode prevCur, PegTree prevPolicy ) : void
prevCur PegNode
prevPolicy PegTree
Résultat void

Rewind() public méthode

public Rewind ( ) : void
Résultat void

SetErrorDestination() public méthode

public SetErrorDestination ( TextWriter errOut ) : void
errOut System.IO.TextWriter
Résultat void

SetNodeCreator() public méthode

public SetNodeCreator ( Creator nodeCreator ) : void
nodeCreator Creator
Résultat void

TreeAST() public méthode

public TreeAST ( Creator nodeCreator, Matcher toMatch ) : bool
nodeCreator Creator
toMatch Matcher
Résultat bool

TreeAST() public méthode

public TreeAST ( Creator nodeCreator, int nRuleId, Matcher toMatch ) : bool
nodeCreator Creator
nRuleId int
toMatch Matcher
Résultat bool

TreeAST() public méthode

public TreeAST ( Matcher toMatch ) : bool
toMatch Matcher
Résultat bool

TreeAST() public méthode

public TreeAST ( int nRuleId, Matcher toMatch ) : bool
nRuleId int
toMatch Matcher
Résultat bool

TreeChars() public méthode

public TreeChars ( Creator nodeCreator, Matcher toMatch ) : bool
nodeCreator Creator
toMatch Matcher
Résultat bool

TreeChars() public méthode

public TreeChars ( Matcher toMatch ) : bool
toMatch Matcher
Résultat bool

TreeCharsWithId() public méthode

public TreeCharsWithId ( Creator nodeCreator, int nId, Matcher toMatch ) : bool
nodeCreator Creator
nId int
toMatch Matcher
Résultat bool

TreeCharsWithId() public méthode

public TreeCharsWithId ( int nId, Matcher toMatch ) : bool
nId int
toMatch Matcher
Résultat bool

TreeNT() public méthode

public TreeNT ( Creator nodeCreator, Matcher toMatch ) : bool
nodeCreator Creator
toMatch Matcher
Résultat bool

TreeNT() public méthode

public TreeNT ( Creator nodeCreator, int nRuleId, Matcher toMatch ) : bool
nodeCreator Creator
nRuleId int
toMatch Matcher
Résultat bool

TreeNT() public méthode

public TreeNT ( Matcher toMatch ) : bool
toMatch Matcher
Résultat bool

TreeNT() public méthode

public TreeNT ( int nRuleId, Matcher toMatch ) : bool
nRuleId int
toMatch Matcher
Résultat bool

TreeNodeToString() public méthode

public TreeNodeToString ( PegNode node ) : string
node PegNode
Résultat string

Property Details

bMute_ protected_oe property

protected bool bMute_
Résultat bool

errOut_ protected_oe property

protected TextWriter,System.IO errOut_
Résultat System.IO.TextWriter

nodeCreator_ protected_oe property

protected Creator nodeCreator_
Résultat Creator

pos_ protected_oe property

protected int pos_
Résultat int

srcLen_ protected_oe property

protected int srcLen_
Résultat int