C# Class Gonzo.TreeWalker

Used tp walk a generated AST (Abstract Syntax Tree) for UI scripts.
Afficher le fichier Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Méthodes publiques

Свойство Type Description
Controls UIControl>.Dictionary
Elements UIElement>.Dictionary
Strings string>.Dictionary

Méthodes publiques

Méthode Description
Initialize ( string Path ) : void

Parses a UI script and walks the generated AST.

TreeWalker ( UIScreen Screen ) : System

Constructs a new TreeWalker instance.

Private Methods

Méthode Description
WalkTree ( UIParser State, AstNode node ) : void

Walks a generated AST (Abstract Syntax Tree) and creates the elements of this UIScreen.

Method Details

Initialize() public méthode

Parses a UI script and walks the generated AST.
public Initialize ( string Path ) : void
Path string The path to the script.
Résultat void

TreeWalker() public méthode

Constructs a new TreeWalker instance.
public TreeWalker ( UIScreen Screen ) : System
Screen UIScreen A UIScreen instance.
Résultat System

Property Details

Controls public_oe property

public Dictionary Controls
Résultat UIControl>.Dictionary

Elements public_oe property

public Dictionary Elements
Résultat UIElement>.Dictionary

Strings public_oe property

public Dictionary Strings
Résultat string>.Dictionary