C# Class Schemin.AST.ScheminPrimitive

Inheritance: IScheminType
Mostra file Open project: imphasing/schemin Class Usage Examples

Public Properties

Property Type Description
Definition Schemin.Primitives.Primitive
Name string
Rewriter bool
SourceToken Schemin.Tokenize.Token

Public Methods

Method Description
BoolValue ( ) : ScheminBool
Equal ( IScheminType type ) : bool
Equivalent ( IScheminType type ) : bool
Evaluate ( ScheminPair args, Environment env, Evaluator eval ) : IScheminType
ScheminPrimitive ( Primitive definition, string name ) : System
ScheminPrimitive ( string name ) : System
ScheminPrimitive ( string name, Token token ) : System
ToString ( ) : string

Method Details

BoolValue() public method

public BoolValue ( ) : ScheminBool
return ScheminBool

Equal() public method

public Equal ( IScheminType type ) : bool
type IScheminType
return bool

Equivalent() public method

public Equivalent ( IScheminType type ) : bool
type IScheminType
return bool

Evaluate() public method

public Evaluate ( ScheminPair args, Environment env, Evaluator eval ) : IScheminType
args ScheminPair
env Schemin.Evaluate.Environment
eval Schemin.Evaluate.Evaluator
return IScheminType

ScheminPrimitive() public method

public ScheminPrimitive ( Primitive definition, string name ) : System
definition Schemin.Primitives.Primitive
name string
return System

ScheminPrimitive() public method

public ScheminPrimitive ( string name ) : System
name string
return System

ScheminPrimitive() public method

public ScheminPrimitive ( string name, Token token ) : System
name string
token Schemin.Tokenize.Token
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

Definition public_oe property

public Primitive,Schemin.Primitives Definition
return Schemin.Primitives.Primitive

Name public_oe property

public string Name
return string

Rewriter public_oe property

public bool Rewriter
return bool

SourceToken public_oe property

public Token,Schemin.Tokenize SourceToken
return Schemin.Tokenize.Token