C# Class System.Xml.Schema.SyntaxTreeNode

Base class for the systax tree nodes
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Clone ( Positions positions ) : SyntaxTreeNode

Clone the syntaxTree. We need to pass symbolsByPosition because leaf nodes have to add themselves to it.

ConstructPos ( BitSet firstpos, BitSet lastpos, BitSet followpos ) : void

From a regular expression to a DFA Compilers by Aho, Sethi, Ullman. ISBN 0-201-10088-6, p135 Construct firstpos, lastpos and calculate followpos

Dump ( StringBuilder bb, SymbolsDictionary symbols, Positions positions ) : void

Print syntax tree

ExpandTree ( InteriorNode parent, SymbolsDictionary symbols, Positions positions ) : void

Expand NamesapceListNode and RangeNode nodes. All other nodes

Method Details

Clone() public abstract method

Clone the syntaxTree. We need to pass symbolsByPosition because leaf nodes have to add themselves to it.
public abstract Clone ( Positions positions ) : SyntaxTreeNode
positions Positions
return SyntaxTreeNode

ConstructPos() public abstract method

From a regular expression to a DFA Compilers by Aho, Sethi, Ullman. ISBN 0-201-10088-6, p135 Construct firstpos, lastpos and calculate followpos
public abstract ConstructPos ( BitSet firstpos, BitSet lastpos, BitSet followpos ) : void
firstpos BitSet
lastpos BitSet
followpos BitSet
return void

Dump() public abstract method

Print syntax tree
public abstract Dump ( StringBuilder bb, SymbolsDictionary symbols, Positions positions ) : void
bb StringBuilder
symbols SymbolsDictionary
positions Positions
return void

ExpandTree() public abstract method

Expand NamesapceListNode and RangeNode nodes. All other nodes
public abstract ExpandTree ( InteriorNode parent, SymbolsDictionary symbols, Positions positions ) : void
parent InteriorNode
symbols SymbolsDictionary
positions Positions
return void