C# Class YAMP.Block

This is an abstract basic parse block.
ファイルを表示 Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
ToCode ( ) : String

Converts the given block to a valid part of a query.

ToDebug ( int padLeft, int tabsize ) : String

Returns a string to allow visualization of a Expression tree

Protected Methods

Method Description
Init ( ParseEngine engine ) : void

Initializes the values StartColumn, StartLine and Query.

Method Details

Init() protected method

Initializes the values StartColumn, StartLine and Query.
protected Init ( ParseEngine engine ) : void
engine ParseEngine The engine to use for initialization.
return void

ToCode() public abstract method

Converts the given block to a valid part of a query.
public abstract ToCode ( ) : String
return String

ToDebug() public abstract method

Returns a string to allow visualization of a Expression tree
public abstract ToDebug ( int padLeft, int tabsize ) : String
padLeft int
tabsize int
return String