C# Class 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.
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Свойство Type Description
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[]

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
meta ( string key ) : string
readPodMeta ( FStore input ) : void
readType ( string name, FStore input ) : void
readTypeMeta ( FStore input ) : void

Method Details

FPod() public méthode

public FPod ( string podName, FStore store ) : System
podName string
store FStore
Résultat System

fieldRef() public méthode

public fieldRef ( int index ) : FTuple
index int
Résultat FTuple

methodRef() public méthode

public methodRef ( int index ) : FTuple
index int
Résultat FTuple

name() public méthode

public name ( int index ) : string
index int
Résultat string

ncall() public méthode

Map a fcode method signature to a .NET method emit signature.
public ncall ( int index, int opcode ) : NMethod
index int
opcode int
Résultat NMethod

nfield() public méthode

Map a fcode field signature to a .NET field emit signature.
public nfield ( int index, bool mixin ) : NField
index int
mixin bool
Résultat NField

nname() public méthode

public nname ( int index ) : string
index int
Résultat string

read() public méthode

Read from a FStore which provides random access.
public read ( ) : void
Résultat void

readFully() public méthode

Read from an input stream (used for loading scripts from memory)
public readFully ( ZipInputStream zip ) : void
zip ICSharpCode.SharpZipLib.Zip.ZipInputStream
Résultat void

readLiterals() public méthode

Read the literal constant tables (if not already loaded).
public readLiterals ( ) : FLiterals
Résultat FLiterals

type() public méthode

public type ( string nameToFind ) : FType
nameToFind string
Résultat FType

typeRef() public méthode

public typeRef ( int index ) : FTypeRef
index int
Résultat FTypeRef

Property Details

m_depends public_oe property

public Depend[],Fan.Sys m_depends
Résultat Fan.Sys.Depend[]

m_fcodeVersion public_oe property

public string m_fcodeVersion
Résultat string

m_fieldRefs public_oe property

public FTable,Fanx.Fcode m_fieldRefs
Résultat FTable

m_literals public_oe property

public FLiterals,Fanx.Fcode m_literals
Résultat FLiterals

m_meta public_oe property

public Map,Fan.Sys m_meta
Résultat Fan.Sys.Map

m_methodRefs public_oe property

public FTable,Fanx.Fcode m_methodRefs
Résultat FTable

m_names public_oe property

public FTable,Fanx.Fcode m_names
Résultat FTable

m_podName public_oe property

public string m_podName
Résultat string

m_podVersion public_oe property

public string m_podVersion
Résultat string

m_store public_oe property

public FStore,Fanx.Fcode m_store
Résultat FStore

m_typeRefs public_oe property

public FTable,Fanx.Fcode m_typeRefs
Résultat FTable

m_types public_oe property

public FType[],Fanx.Fcode m_types
Résultat Fanx.Fcode.FType[]