C# Класс System.Xml.Schema.SyntaxTreeNode

Base class for the systax tree nodes
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Clone() публичный абстрактный Метод

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
Результат SyntaxTreeNode

ConstructPos() публичный абстрактный Метод

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
Результат void

Dump() публичный абстрактный Метод

Print syntax tree
public abstract Dump ( StringBuilder bb, SymbolsDictionary symbols, Positions positions ) : void
bb StringBuilder
symbols SymbolsDictionary
positions Positions
Результат void

ExpandTree() публичный абстрактный Метод

Expand NamesapceListNode and RangeNode nodes. All other nodes
public abstract ExpandTree ( InteriorNode parent, SymbolsDictionary symbols, Positions positions ) : void
parent InteriorNode
symbols SymbolsDictionary
positions Positions
Результат void