C# Class ABT.MemberIterator.Status

Afficher le fichier Open project: phisiart/C-Compiler

Méthodes publiques

Свойство Type Description
base_type ExprType
indices List

Méthodes publiques

Méthode Description
GetOffset ( ExprType base_type, IReadOnlyList indices ) : Int32
GetOffset ( ExprType from_type, Int32 to_index ) : Int32
GetType ( ExprType base_type, IReadOnlyList indices ) : ExprType
GetType ( ExprType from_type, Int32 to_index ) : ExprType
GetTypes ( ExprType base_type, IReadOnlyList indices ) : List
Locate ( ExprType type ) : void

Read an expression in the initializer list, locate the corresponding position.

Next ( ) : void
Status ( ExprType base_type ) : System

Private Methods

Méthode Description
LocateScalar ( ) : void

Try to match a scalar. This step doesn't check what scalar it is. Further steps would perform implicit conversions.

LocateStruct ( StructOrUnionType type ) : void

Try to match a given struct. Go down to find the first element of the same struct Type.

Method Details

GetOffset() public static méthode

public static GetOffset ( ExprType base_type, IReadOnlyList indices ) : Int32
base_type ExprType
indices IReadOnlyList
Résultat System.Int32

GetOffset() public static méthode

public static GetOffset ( ExprType from_type, Int32 to_index ) : Int32
from_type ExprType
to_index System.Int32
Résultat System.Int32

GetType() public static méthode

public static GetType ( ExprType base_type, IReadOnlyList indices ) : ExprType
base_type ExprType
indices IReadOnlyList
Résultat ExprType

GetType() public static méthode

public static GetType ( ExprType from_type, Int32 to_index ) : ExprType
from_type ExprType
to_index System.Int32
Résultat ExprType

GetTypes() public méthode

public GetTypes ( ExprType base_type, IReadOnlyList indices ) : List
base_type ExprType
indices IReadOnlyList
Résultat List

Locate() public méthode

Read an expression in the initializer list, locate the corresponding position.
public Locate ( ExprType type ) : void
type ExprType
Résultat void

Next() public méthode

public Next ( ) : void
Résultat void

Status() public méthode

public Status ( ExprType base_type ) : System
base_type ExprType
Résultat System

Property Details

base_type public_oe property

public ExprType,ABT base_type
Résultat ExprType

indices public_oe property

public List indices
Résultat List