C# Class Loyc.Syntax.LiteralNode

Base class of all nodes that represent literal values such as 123 and "foo".
Inheritance: LNode
显示文件 Open project: qwertie/ecsharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Call ( ILNodeVisitor visitor ) : void
Call ( Loyc.Syntax.LNodeVisitor visitor ) : void
Clone ( ) : LNode
WithArgs ( VList args ) : CallNode
WithAttrs ( VList attrs ) : LNode
WithValue ( object value ) : LiteralNode

Protected Methods

Method Description
GetHashCode ( int recurse, int styleMask ) : int
LiteralNode ( LNode ras ) : System
LiteralNode ( SourceRange range, NodeStyle style ) : System

Method Details

Call() public final method

public final Call ( ILNodeVisitor visitor ) : void
visitor ILNodeVisitor
return void

Call() public final method

public final Call ( Loyc.Syntax.LNodeVisitor visitor ) : void
visitor Loyc.Syntax.LNodeVisitor
return void

Clone() public abstract method

public abstract Clone ( ) : LNode
return LNode

GetHashCode() protected method

protected GetHashCode ( int recurse, int styleMask ) : int
recurse int
styleMask int
return int

LiteralNode() protected method

protected LiteralNode ( LNode ras ) : System
ras LNode
return System

LiteralNode() protected method

protected LiteralNode ( SourceRange range, NodeStyle style ) : System
range SourceRange
style NodeStyle
return System

WithArgs() public method

public WithArgs ( VList args ) : CallNode
args VList
return CallNode

WithAttrs() public abstract method

public abstract WithAttrs ( VList attrs ) : LNode
attrs VList
return LNode

WithValue() public abstract method

public abstract WithValue ( object value ) : LiteralNode
value object
return LiteralNode