C# Class Axiom.Scripting.Compiler.AST.AbstractNode

base node type for the AST
Inheritance: ICloneable
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
Context object
File string
Line uint
Parent AbstractNode

Public Methods

Method Description
Clone ( ) : AbstractNode

Returns a new AbstractNode which is a replica of this one

Equals ( object obj ) : bool
GetHashCode ( ) : int

Protected Methods

Method Description
AbstractNode ( AbstractNode parent ) : System

Constructor

Private Methods

Method Description
ICloneable ( ) : object

Method Details

AbstractNode() protected method

Constructor
protected AbstractNode ( AbstractNode parent ) : System
parent AbstractNode the parent AbstractNode in the tree
return System

Clone() public abstract method

Returns a new AbstractNode which is a replica of this one
public abstract Clone ( ) : AbstractNode
return AbstractNode

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Property Details

Context public property

An holder for translation context data
public object Context
return object

File public property

public string File
return string

Line public property

public uint Line
return uint

Parent public property

public AbstractNode,Axiom.Scripting.Compiler.AST Parent
return AbstractNode