C# 클래스 ABT.MemberIterator.Status

파일 보기 프로젝트 열기: phisiart/C-Compiler

공개 프로퍼티들

프로퍼티 타입 설명
base_type ExprType
indices List

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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.

메소드 상세

GetOffset() 공개 정적인 메소드

public static GetOffset ( ExprType base_type, IReadOnlyList indices ) : Int32
base_type ExprType
indices IReadOnlyList
리턴 System.Int32

GetOffset() 공개 정적인 메소드

public static GetOffset ( ExprType from_type, Int32 to_index ) : Int32
from_type ExprType
to_index System.Int32
리턴 System.Int32

GetType() 공개 정적인 메소드

public static GetType ( ExprType base_type, IReadOnlyList indices ) : ExprType
base_type ExprType
indices IReadOnlyList
리턴 ExprType

GetType() 공개 정적인 메소드

public static GetType ( ExprType from_type, Int32 to_index ) : ExprType
from_type ExprType
to_index System.Int32
리턴 ExprType

GetTypes() 공개 메소드

public GetTypes ( ExprType base_type, IReadOnlyList indices ) : List
base_type ExprType
indices IReadOnlyList
리턴 List

Locate() 공개 메소드

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

Next() 공개 메소드

public Next ( ) : void
리턴 void

Status() 공개 메소드

public Status ( ExprType base_type ) : System
base_type ExprType
리턴 System

프로퍼티 상세

base_type 공개적으로 프로퍼티

public ExprType,ABT base_type
리턴 ExprType

indices 공개적으로 프로퍼티

public List indices
리턴 List