C# 클래스 Fan.Sys.Pod

Pod is a module containing Types. A Pod is always backed by a FPod instance which defines all the definition tables. Usually the FPod is in turn backed by a FStore for the pod's zip file. However in the case of memory-only pods defined by the compiler, the fpod.store field will be null. Pods is loaded as soon as it is constructed: 1) All the types defined by the fpod are mapped into hollow Types. 2) It is emitted as a Java class called "fan.{podName}.$Pod". The emitted class is basically a manifestation of the literal tables, after which we can clear the fpod data structures.
상속: FanObj
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_doc string

공개 메소드들

메소드 설명
@typeof ( ) : Type
close ( ) : void

Close the pod which should release any locks on the pod file. This method exists only for testing, and should not otherwise be used.

config ( string key ) : string
config ( string key, string def ) : string
depends ( ) : List
doFind ( string name, bool check, FPod fpod ) : Pod
doc ( ) : string
file ( Uri uri ) : Fan.Sys.File
file ( Uri uri, bool check ) : Fan.Sys.File
files ( ) : List
find ( string name ) : Pod
find ( string name, bool check ) : Pod
list ( ) : List
load ( InStream @in ) : Pod
locale ( string key ) : string
locale ( string key, string def ) : string
log ( ) : Log
meta ( ) : Map
name ( ) : string
of ( object obj ) : Pod
props ( Uri uri, Duration maxAge ) : Map
readFPod ( string name ) : FPod
toStr ( ) : string
type ( string name ) : Type
type ( string name, bool check ) : Type
types ( ) : List
uri ( ) : Uri
version ( ) : Version

비공개 메소드들

메소드 설명
Pod ( FPod fpod ) : System
findType ( int qname ) : Type
load ( FPod fpod ) : void
loadFiles ( ) : void

메소드 상세

@typeof() 공개 메소드

public @typeof ( ) : Type
리턴 Type

close() 공개 메소드

Close the pod which should release any locks on the pod file. This method exists only for testing, and should not otherwise be used.
public close ( ) : void
리턴 void

config() 공개 메소드

public config ( string key ) : string
key string
리턴 string

config() 공개 메소드

public config ( string key, string def ) : string
key string
def string
리턴 string

depends() 공개 메소드

public depends ( ) : List
리턴 List

doFind() 공개 정적인 메소드

public static doFind ( string name, bool check, FPod fpod ) : Pod
name string
check bool
fpod Fanx.Fcode.FPod
리턴 Pod

doc() 공개 메소드

public doc ( ) : string
리턴 string

file() 공개 메소드

public file ( Uri uri ) : Fan.Sys.File
uri Uri
리턴 Fan.Sys.File

file() 공개 메소드

public file ( Uri uri, bool check ) : Fan.Sys.File
uri Uri
check bool
리턴 Fan.Sys.File

files() 공개 메소드

public files ( ) : List
리턴 List

find() 공개 정적인 메소드

public static find ( string name ) : Pod
name string
리턴 Pod

find() 공개 정적인 메소드

public static find ( string name, bool check ) : Pod
name string
check bool
리턴 Pod

list() 공개 정적인 메소드

public static list ( ) : List
리턴 List

load() 공개 정적인 메소드

public static load ( InStream @in ) : Pod
@in InStream
리턴 Pod

locale() 공개 메소드

public locale ( string key ) : string
key string
리턴 string

locale() 공개 메소드

public locale ( string key, string def ) : string
key string
def string
리턴 string

log() 공개 메소드

public log ( ) : Log
리턴 Log

meta() 공개 메소드

public meta ( ) : Map
리턴 Map

name() 공개 메소드

public name ( ) : string
리턴 string

of() 공개 정적인 메소드

public static of ( object obj ) : Pod
obj object
리턴 Pod

props() 공개 메소드

public props ( Uri uri, Duration maxAge ) : Map
uri Uri
maxAge Duration
리턴 Map

readFPod() 공개 정적인 메소드

public static readFPod ( string name ) : FPod
name string
리턴 Fanx.Fcode.FPod

toStr() 공개 메소드

public toStr ( ) : string
리턴 string

type() 공개 메소드

public type ( string name ) : Type
name string
리턴 Type

type() 공개 메소드

public type ( string name, bool check ) : Type
name string
check bool
리턴 Type

types() 공개 메소드

public types ( ) : List
리턴 List

uri() 공개 메소드

public uri ( ) : Uri
리턴 Uri

version() 공개 메소드

public version ( ) : Version
리턴 Version

프로퍼티 상세

m_doc 공개적으로 프로퍼티

public string m_doc
리턴 string