C# Class Pytocs.TypeInference.Builtins.NativeModule

Show file Open project: uxmal/pytocs

Protected Properties

Property Type Description
module ModuleType
name string
outer Builtins
table State

Public Methods

Method Description
ToString ( ) : string
getModule ( ) : ModuleType
initBindings ( ) : void

Protected Methods

Method Description
NativeModule ( Builtins outer, string name ) : System
addAttr ( string name, Pytocs.Syntax.Url url, DataType type ) : void
addAttributes_beCareful ( DataType type ) : void
addClass ( string name, Pytocs.Syntax.Url url, DataType type ) : void
addFunction ( string name, Pytocs.Syntax.Url url, DataType type ) : void
addFunctions_beCareful ( DataType type ) : void
addMethod ( string name, Pytocs.Syntax.Url url, DataType type ) : void
addNoneFuncs ( ) : void
addNumAttrs ( ) : void
addNumFuncs ( ) : void
addStrAttrs ( ) : void
addStrFuncs ( ) : void
addUnknownAttrs ( ) : void
addUnknownFuncs ( ) : void
createModuleType ( ) : void
liburl ( ) : Pytocs.Syntax.Url
liburl ( string anchor ) : Pytocs.Syntax.Url
update ( string name, Pytocs.Syntax.Url url, DataType type, BindingKind kind ) : void

Method Details

NativeModule() protected method

protected NativeModule ( Builtins outer, string name ) : System
outer Builtins
name string
return System

ToString() public method

public ToString ( ) : string
return string

addAttr() protected method

protected addAttr ( string name, Pytocs.Syntax.Url url, DataType type ) : void
name string
url Pytocs.Syntax.Url
type DataType
return void

addAttributes_beCareful() protected method

protected addAttributes_beCareful ( DataType type ) : void
type DataType
return void

addClass() protected method

protected addClass ( string name, Pytocs.Syntax.Url url, DataType type ) : void
name string
url Pytocs.Syntax.Url
type DataType
return void

addFunction() protected method

protected addFunction ( string name, Pytocs.Syntax.Url url, DataType type ) : void
name string
url Pytocs.Syntax.Url
type DataType
return void

addFunctions_beCareful() protected method

protected addFunctions_beCareful ( DataType type ) : void
type DataType
return void

addMethod() protected method

protected addMethod ( string name, Pytocs.Syntax.Url url, DataType type ) : void
name string
url Pytocs.Syntax.Url
type DataType
return void

addNoneFuncs() protected method

protected addNoneFuncs ( ) : void
return void

addNumAttrs() protected method

protected addNumAttrs ( ) : void
return void

addNumFuncs() protected method

protected addNumFuncs ( ) : void
return void

addStrAttrs() protected method

protected addStrAttrs ( ) : void
return void

addStrFuncs() protected method

protected addStrFuncs ( ) : void
return void

addUnknownAttrs() protected method

protected addUnknownAttrs ( ) : void
return void

addUnknownFuncs() protected method

protected addUnknownFuncs ( ) : void
return void

createModuleType() protected method

protected createModuleType ( ) : void
return void

getModule() public method

public getModule ( ) : ModuleType
return ModuleType

initBindings() public abstract method

public abstract initBindings ( ) : void
return void

liburl() protected method

protected liburl ( ) : Pytocs.Syntax.Url
return Pytocs.Syntax.Url

liburl() protected method

protected liburl ( string anchor ) : Pytocs.Syntax.Url
anchor string
return Pytocs.Syntax.Url

update() protected method

protected update ( string name, Pytocs.Syntax.Url url, DataType type, BindingKind kind ) : void
name string
url Pytocs.Syntax.Url
type DataType
kind BindingKind
return void

Property Details

module protected property

protected ModuleType module
return ModuleType

name protected property

protected string name
return string

outer protected property

protected Builtins,Pytocs.TypeInference outer
return Builtins

table protected property

protected State,Pytocs.TypeInference table
return State