C# Class Loyc.Syntax.IdNode

Base class of all nodes that represent simple identifiers (including special symbols such as #foo).
Inheritance: LNode
Exibir arquivo Open project: qwertie/ecsharp Class Usage Examples

Private Properties

Property Type Description
WithValue LiteralNode

Public Methods

Method Description
Call ( ILNodeVisitor visitor ) : void
Call ( Loyc.Syntax.LNodeVisitor visitor ) : void
Clone ( ) : LNode
IsIdNamed ( Symbol name ) : bool
IsIdNamed ( string name ) : bool
IsIdWithoutPAttrs ( ) : bool
IsIdWithoutPAttrs ( Symbol name ) : bool
WithArgs ( VList args ) : CallNode
WithAttrs ( VList attrs ) : LNode
WithName ( Symbol name ) : LNode

Protected Methods

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

Private Methods

Method Description
WithValue ( object value ) : LiteralNode

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

IdNode() protected method

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

IdNode() protected method

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

IsIdNamed() public method

public IsIdNamed ( Symbol name ) : bool
name Symbol
return bool

IsIdNamed() public method

public IsIdNamed ( string name ) : bool
name string
return bool

IsIdWithoutPAttrs() public method

public IsIdWithoutPAttrs ( ) : bool
return bool

IsIdWithoutPAttrs() public method

public IsIdWithoutPAttrs ( Symbol name ) : bool
name Symbol
return bool

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

WithName() public abstract method

public abstract WithName ( Symbol name ) : LNode
name Symbol
return LNode