C# Class Loyc.Syntax.CallNode

Base class of all nodes that represent calls such as f(x), operator calls such as x + y, braced blocks, and all other things that are not simple symbols and literals.
Inheritance: LNode
Exibir arquivo Open project: qwertie/ecsharp Class Usage Examples

Protected Properties

Property Type Description
_hashCode int

Private Properties

Property Type Description
WithValue LiteralNode

Public Methods

Method Description
Call ( ILNodeVisitor visitor ) : void
Call ( Loyc.Syntax.LNodeVisitor visitor ) : void
Calls ( Symbol name ) : bool
Calls ( Symbol name, int argCount ) : bool
Calls ( string name ) : bool
Calls ( string name, int argCount ) : bool
CallsMin ( Symbol name, int argCount ) : bool
CallsMin ( string name, int argCount ) : bool
Clone ( ) : LNode
HasSimpleHead ( ) : bool
HasSimpleHeadWithoutPAttrs ( ) : bool
Select ( Func selector, ReplaceOpt options = ReplaceOpt.ProcessAttrs ) : LNode
WithArgs ( VList args ) : CallNode
WithArgs ( Func selector ) : LNode
WithAttrs ( VList attrs ) : LNode
WithName ( Symbol name ) : LNode

Protected Methods

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

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

CallNode() protected method

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

CallNode() protected method

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

Calls() public method

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

Calls() public method

public Calls ( Symbol name, int argCount ) : bool
name Symbol
argCount int
return bool

Calls() public method

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

Calls() public method

public Calls ( string name, int argCount ) : bool
name string
argCount int
return bool

CallsMin() public method

public CallsMin ( Symbol name, int argCount ) : bool
name Symbol
argCount int
return bool

CallsMin() public method

public CallsMin ( string name, int argCount ) : bool
name string
argCount int
return bool

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

HasSimpleHead() public method

public HasSimpleHead ( ) : bool
return bool

HasSimpleHeadWithoutPAttrs() public method

public HasSimpleHeadWithoutPAttrs ( ) : bool
return bool

Select() public final method

public final Select ( Func selector, ReplaceOpt options = ReplaceOpt.ProcessAttrs ) : LNode
selector Func
options ReplaceOpt
return LNode

WithArgs() public method

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

WithArgs() public final method

public final WithArgs ( Func selector ) : LNode
selector Func
return LNode

WithAttrs() public abstract method

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

WithName() public method

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

Property Details

_hashCode protected_oe property

protected int _hashCode
return int