C# Class Dbg.AstWriter

Inheritance: IAstVisitor
Show file Open project: YourLocalFax/OLD-Score Class Usage Examples

Public Methods

Method Description
AstWriter ( TextWriter writer ) : System.IO
Visit ( Ast node ) : void
Visit ( NodeBool b ) : void
Visit ( NodeEnclosed enc ) : void
Visit ( NodeFnDecl fn ) : void
Visit ( NodeId id ) : void
Visit ( NodeIf @if ) : void
Visit ( NodeIndex index ) : void
Visit ( NodeInfix infix ) : void
Visit ( NodeInt i ) : void
Visit ( NodeInvoke invoke ) : void
Visit ( NodeLet let ) : void
Visit ( NodeRet ret ) : void
Visit ( NodeStr s ) : void
Visit ( NodeSuffix suffix ) : void
Visit ( NodeTuple tuple ) : void
Visit ( NodeTypeDef type ) : void

Private Methods

Method Description
Tab ( ) : void
Untab ( ) : void
Write ( string message ) : void
WriteLine ( ) : void
WriteLine ( string message ) : void
WriteMods ( Modifiers mods ) : void
WriteParameter ( Parameter param ) : void
WriteTabs ( ) : void

Method Details

AstWriter() public method

public AstWriter ( TextWriter writer ) : System.IO
writer System.IO.TextWriter
return System.IO

Visit() public method

public Visit ( Ast node ) : void
node SyntaxTree.Ast
return void

Visit() public method

public Visit ( NodeBool b ) : void
b SyntaxTree.NodeBool
return void

Visit() public method

public Visit ( NodeEnclosed enc ) : void
enc SyntaxTree.NodeEnclosed
return void

Visit() public method

public Visit ( NodeFnDecl fn ) : void
fn SyntaxTree.NodeFnDecl
return void

Visit() public method

public Visit ( NodeId id ) : void
id SyntaxTree.NodeId
return void

Visit() public method

public Visit ( NodeIf @if ) : void
@if SyntaxTree.NodeIf
return void

Visit() public method

public Visit ( NodeIndex index ) : void
index SyntaxTree.NodeIndex
return void

Visit() public method

public Visit ( NodeInfix infix ) : void
infix SyntaxTree.NodeInfix
return void

Visit() public method

public Visit ( NodeInt i ) : void
i SyntaxTree.NodeInt
return void

Visit() public method

public Visit ( NodeInvoke invoke ) : void
invoke SyntaxTree.NodeInvoke
return void

Visit() public method

public Visit ( NodeLet let ) : void
let SyntaxTree.NodeLet
return void

Visit() public method

public Visit ( NodeRet ret ) : void
ret SyntaxTree.NodeRet
return void

Visit() public method

public Visit ( NodeStr s ) : void
s SyntaxTree.NodeStr
return void

Visit() public method

public Visit ( NodeSuffix suffix ) : void
suffix SyntaxTree.NodeSuffix
return void

Visit() public method

public Visit ( NodeTuple tuple ) : void
tuple SyntaxTree.NodeTuple
return void

Visit() public method

public Visit ( NodeTypeDef type ) : void
type SyntaxTree.NodeTypeDef
return void