C# 클래스 System.Xml.Schema.SyntaxTreeNode

Base class for the systax tree nodes
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
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