C# 클래스 ABT.StructOrUnionType

파일 보기 프로젝트 열기: phisiart/C-Compiler 1 사용 예제들

공개 메소드들

메소드 설명
CreateIncompleteStruct ( String name, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
CreateIncompleteType ( AST structOrUnion, String name ) : StructOrUnionType
CreateIncompleteUnion ( String name, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
CreateStruct ( String name, ExprType>.IReadOnlyList attribs, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
CreateUnion ( String name, ExprType>.IReadOnlyList attribs, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
Decl ( String name, Int32 precedence ) : String
Define ( AST structOrUnion, ImmutableList members ) : void
DefineStruct ( ExprType>.IReadOnlyList attribs ) : void
DefineUnion ( ExprType>.IReadOnlyList attribs ) : void
Dump ( System.Boolean dump_attribs ) : String
EqualType ( ExprType other ) : System.Boolean
GetQualifiedType ( System.Boolean isConst, System.Boolean isVolatile ) : ExprType

비공개 메소드들

메소드 설명
StructOrUnionType ( StructOrUnionLayout layout, System.Boolean isConst, System.Boolean isVolatile ) : System

메소드 상세

CreateIncompleteStruct() 공개 정적인 메소드

public static CreateIncompleteStruct ( String name, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
name String
is_const System.Boolean
is_volatile System.Boolean
리턴 StructOrUnionType

CreateIncompleteType() 공개 정적인 메소드

public static CreateIncompleteType ( AST structOrUnion, String name ) : StructOrUnionType
structOrUnion AST
name String
리턴 StructOrUnionType

CreateIncompleteUnion() 공개 정적인 메소드

public static CreateIncompleteUnion ( String name, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
name String
is_const System.Boolean
is_volatile System.Boolean
리턴 StructOrUnionType

CreateStruct() 공개 정적인 메소드

public static CreateStruct ( String name, ExprType>.IReadOnlyList attribs, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
name String
attribs ExprType>.IReadOnlyList
is_const System.Boolean
is_volatile System.Boolean
리턴 StructOrUnionType

CreateUnion() 공개 정적인 메소드

public static CreateUnion ( String name, ExprType>.IReadOnlyList attribs, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
name String
attribs ExprType>.IReadOnlyList
is_const System.Boolean
is_volatile System.Boolean
리턴 StructOrUnionType

Decl() 공개 메소드

public Decl ( String name, Int32 precedence ) : String
name String
precedence System.Int32
리턴 String

Define() 공개 메소드

public Define ( AST structOrUnion, ImmutableList members ) : void
structOrUnion AST
members ImmutableList
리턴 void

DefineStruct() 공개 메소드

public DefineStruct ( ExprType>.IReadOnlyList attribs ) : void
attribs ExprType>.IReadOnlyList
리턴 void

DefineUnion() 공개 메소드

public DefineUnion ( ExprType>.IReadOnlyList attribs ) : void
attribs ExprType>.IReadOnlyList
리턴 void

Dump() 공개 메소드

public Dump ( System.Boolean dump_attribs ) : String
dump_attribs System.Boolean
리턴 String

EqualType() 공개 메소드

public EqualType ( ExprType other ) : System.Boolean
other ExprType
리턴 System.Boolean

GetQualifiedType() 공개 메소드

public GetQualifiedType ( System.Boolean isConst, System.Boolean isVolatile ) : ExprType
isConst System.Boolean
isVolatile System.Boolean
리턴 ExprType