C# Class Pytocs.TypeInference.Builtins

Metadata for all Python builtin functions.
ファイルを表示 Open project: uxmal/pytocs Class Usage Examples

Public Properties

Property Type Description
BaseArray ClassType
BaseClass ClassType
BaseDict ClassType
BaseException ClassType
BaseFile ClassType
BaseFileInst InstanceType
BaseFunction ClassType
BaseList ClassType
BaseListInst InstanceType
BaseModule ClassType
BaseStruct ClassType
BaseTuple ClassType
BaseType ClassType
Builtin ModuleType
Datetime_date ClassType
Datetime_datetime ClassType
Datetime_time ClassType
Datetime_timedelta ClassType
Datetime_tzinfo ClassType
Time_struct_time InstanceType
builtin_exception_types string[]
objectType ClassType

Public Methods

Method Description
Builtins ( AnalyzerImpl analyzer ) : System
Initialize ( ) : void
buildArrayType ( ) : void
buildClassType ( ) : void
buildDictType ( ) : void
buildFileType ( ) : void
buildFunctionType ( ) : void
buildListType ( ) : void
buildModuleType ( ) : void
buildNumTypes ( ) : void
buildObjectType ( ) : void
buildStrType ( ) : void
buildTupleType ( ) : void
get ( string name ) : ModuleType
newDataModelUrl ( string path ) : Pytocs.Syntax.Url
newLibUrl ( string path ) : Pytocs.Syntax.Url
newLibUrl ( string module, string name ) : Pytocs.Syntax.Url
newRefUrl ( string path ) : Pytocs.Syntax.Url
newTutUrl ( string path ) : Pytocs.Syntax.Url

Private Methods

Method Description
buildTypes ( ) : void
getModule ( string name ) : ModuleType
newClass ( string name, State table ) : ClassType
newClass ( string name, State table, ClassType superClass ) : ClassType
newDict ( DataType ktype, DataType vtype ) : DictType
newException ( string name, State t ) : ClassType
newFunc ( ) : FunType
newFunc ( DataType type ) : FunType
newList ( ) : ListType
newList ( DataType type ) : ListType
newModule ( string name ) : ModuleType
newTuple ( ) : TupleType
newUnion ( ) : UnionType
numUrl ( ) : Pytocs.Syntax.Url

Method Details

Builtins() public method

public Builtins ( AnalyzerImpl analyzer ) : System
analyzer AnalyzerImpl
return System

Initialize() public method

public Initialize ( ) : void
return void

buildArrayType() public method

public buildArrayType ( ) : void
return void

buildClassType() public method

public buildClassType ( ) : void
return void

buildDictType() public method

public buildDictType ( ) : void
return void

buildFileType() public method

public buildFileType ( ) : void
return void

buildFunctionType() public method

public buildFunctionType ( ) : void
return void

buildListType() public method

public buildListType ( ) : void
return void

buildModuleType() public method

public buildModuleType ( ) : void
return void

buildNumTypes() public method

public buildNumTypes ( ) : void
return void

buildObjectType() public method

public buildObjectType ( ) : void
return void

buildStrType() public method

public buildStrType ( ) : void
return void

buildTupleType() public method

public buildTupleType ( ) : void
return void

get() public method

public get ( string name ) : ModuleType
name string
return ModuleType

newDataModelUrl() public static method

public static newDataModelUrl ( string path ) : Pytocs.Syntax.Url
path string
return Pytocs.Syntax.Url

newLibUrl() public static method

public static newLibUrl ( string path ) : Pytocs.Syntax.Url
path string
return Pytocs.Syntax.Url

newLibUrl() public static method

public static newLibUrl ( string module, string name ) : Pytocs.Syntax.Url
module string
name string
return Pytocs.Syntax.Url

newRefUrl() public static method

public static newRefUrl ( string path ) : Pytocs.Syntax.Url
path string
return Pytocs.Syntax.Url

newTutUrl() public static method

public static newTutUrl ( string path ) : Pytocs.Syntax.Url
path string
return Pytocs.Syntax.Url

Property Details

BaseArray public_oe property

public ClassType BaseArray
return ClassType

BaseClass public_oe property

public ClassType BaseClass
return ClassType

BaseDict public_oe property

public ClassType BaseDict
return ClassType

BaseException public_oe property

public ClassType BaseException
return ClassType

BaseFile public_oe property

public ClassType BaseFile
return ClassType

BaseFileInst public_oe property

public InstanceType BaseFileInst
return InstanceType

BaseFunction public_oe property

public ClassType BaseFunction
return ClassType

BaseList public_oe property

public ClassType BaseList
return ClassType

BaseListInst public_oe property

public InstanceType BaseListInst
return InstanceType

BaseModule public_oe property

public ClassType BaseModule
return ClassType

BaseStruct public_oe property

public ClassType BaseStruct
return ClassType

BaseTuple public_oe property

public ClassType BaseTuple
return ClassType

BaseType public_oe property

public ClassType BaseType
return ClassType

Builtin public_oe property

public ModuleType Builtin
return ModuleType

Datetime_date public_oe property

public ClassType Datetime_date
return ClassType

Datetime_datetime public_oe property

public ClassType Datetime_datetime
return ClassType

Datetime_time public_oe property

public ClassType Datetime_time
return ClassType

Datetime_timedelta public_oe property

public ClassType Datetime_timedelta
return ClassType

Datetime_tzinfo public_oe property

public ClassType Datetime_tzinfo
return ClassType

Time_struct_time public_oe property

public InstanceType Time_struct_time
return InstanceType

builtin_exception_types public_oe static_oe property

public static string[] builtin_exception_types
return string[]

objectType public_oe property

public ClassType objectType
return ClassType