C# Class Fanx.Util.TypeParser

TypeParser is used to parser formal type signatures which are used in Sys.type() and in fcode for typeRefs.def. Signatures are formated as (with arbitrary nesting): x::N x::V[] x::V[x::K] |x::A, ... -> x::R|
显示文件 Open project: xored/f4

Public Methods

Method Description
find ( string podName, string typeName, bool check ) : Type
load ( string sig, bool check, Pod loadingPod ) : Type

Parse the signature into a loaded type.

Private Methods

Method Description
Consume ( ) : void
Consume ( int expected ) : void
ConsumeId ( ) : string
Err ( ) : Err
Err ( string sig ) : Err
Load ( ) : Type
LoadBasic ( ) : Type
LoadMap ( ) : Type
LoadMethod ( ) : Type
LoadTop ( ) : Type
TypeParser ( string sig, bool check, Pod loadingPod ) : System.Collections

Method Details

find() public static method

public static find ( string podName, string typeName, bool check ) : Type
podName string
typeName string
check bool
return Fan.Sys.Type

load() public static method

Parse the signature into a loaded type.
public static load ( string sig, bool check, Pod loadingPod ) : Type
sig string
check bool
loadingPod Fan.Sys.Pod
return Fan.Sys.Type