C# Класс Fanx.Fcode.FPod

FPod is the read/write fcode representation of sys::Pod. It's main job in life is to manage all the pod-wide constant tables for names, literals, type/slot references and type/slot definitions.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_depends Fan.Sys.Depend[]
m_fcodeVersion string
m_fieldRefs FTable
m_literals FLiterals
m_meta Fan.Sys.Map
m_methodRefs FTable
m_names FTable
m_podName string
m_podVersion string
m_store FStore
m_typeRefs FTable
m_types Fanx.Fcode.FType[]

Открытые методы

Метод Описание
FPod ( string podName, FStore store ) : System
fieldRef ( int index ) : FTuple
methodRef ( int index ) : FTuple
name ( int index ) : string
ncall ( int index, int opcode ) : NMethod

Map a fcode method signature to a .NET method emit signature.

nfield ( int index, bool mixin ) : NField

Map a fcode field signature to a .NET field emit signature.

nname ( int index ) : string
read ( ) : void

Read from a FStore which provides random access.

readFully ( ZipInputStream zip ) : void

Read from an input stream (used for loading scripts from memory)

readLiterals ( ) : FLiterals

Read the literal constant tables (if not already loaded).

type ( string nameToFind ) : FType
typeRef ( int index ) : FTypeRef

Приватные методы

Метод Описание
meta ( string key ) : string
readPodMeta ( FStore input ) : void
readType ( string name, FStore input ) : void
readTypeMeta ( FStore input ) : void

Описание методов

FPod() публичный Метод

public FPod ( string podName, FStore store ) : System
podName string
store FStore
Результат System

fieldRef() публичный Метод

public fieldRef ( int index ) : FTuple
index int
Результат FTuple

methodRef() публичный Метод

public methodRef ( int index ) : FTuple
index int
Результат FTuple

name() публичный Метод

public name ( int index ) : string
index int
Результат string

ncall() публичный Метод

Map a fcode method signature to a .NET method emit signature.
public ncall ( int index, int opcode ) : NMethod
index int
opcode int
Результат NMethod

nfield() публичный Метод

Map a fcode field signature to a .NET field emit signature.
public nfield ( int index, bool mixin ) : NField
index int
mixin bool
Результат NField

nname() публичный Метод

public nname ( int index ) : string
index int
Результат string

read() публичный Метод

Read from a FStore which provides random access.
public read ( ) : void
Результат void

readFully() публичный Метод

Read from an input stream (used for loading scripts from memory)
public readFully ( ZipInputStream zip ) : void
zip ICSharpCode.SharpZipLib.Zip.ZipInputStream
Результат void

readLiterals() публичный Метод

Read the literal constant tables (if not already loaded).
public readLiterals ( ) : FLiterals
Результат FLiterals

type() публичный Метод

public type ( string nameToFind ) : FType
nameToFind string
Результат FType

typeRef() публичный Метод

public typeRef ( int index ) : FTypeRef
index int
Результат FTypeRef

Описание свойств

m_depends публичное свойство

public Depend[],Fan.Sys m_depends
Результат Fan.Sys.Depend[]

m_fcodeVersion публичное свойство

public string m_fcodeVersion
Результат string

m_fieldRefs публичное свойство

public FTable,Fanx.Fcode m_fieldRefs
Результат FTable

m_literals публичное свойство

public FLiterals,Fanx.Fcode m_literals
Результат FLiterals

m_meta публичное свойство

public Map,Fan.Sys m_meta
Результат Fan.Sys.Map

m_methodRefs публичное свойство

public FTable,Fanx.Fcode m_methodRefs
Результат FTable

m_names публичное свойство

public FTable,Fanx.Fcode m_names
Результат FTable

m_podName публичное свойство

public string m_podName
Результат string

m_podVersion публичное свойство

public string m_podVersion
Результат string

m_store публичное свойство

public FStore,Fanx.Fcode m_store
Результат FStore

m_typeRefs публичное свойство

public FTable,Fanx.Fcode m_typeRefs
Результат FTable

m_types публичное свойство

public FType[],Fanx.Fcode m_types
Результат Fanx.Fcode.FType[]