C# Class ABT.StructOrUnionType

Exibir arquivo Open project: phisiart/C-Compiler Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
StructOrUnionType ( StructOrUnionLayout layout, System.Boolean isConst, System.Boolean isVolatile ) : System

Method Details

CreateIncompleteStruct() public static method

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

CreateIncompleteType() public static method

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

CreateIncompleteUnion() public static method

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

CreateStruct() public static method

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
return StructOrUnionType

CreateUnion() public static method

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
return StructOrUnionType

Decl() public method

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

Define() public method

public Define ( AST structOrUnion, ImmutableList members ) : void
structOrUnion AST
members ImmutableList
return void

DefineStruct() public method

public DefineStruct ( ExprType>.IReadOnlyList attribs ) : void
attribs ExprType>.IReadOnlyList
return void

DefineUnion() public method

public DefineUnion ( ExprType>.IReadOnlyList attribs ) : void
attribs ExprType>.IReadOnlyList
return void

Dump() public method

public Dump ( System.Boolean dump_attribs ) : String
dump_attribs System.Boolean
return String

EqualType() public method

public EqualType ( ExprType other ) : System.Boolean
other ExprType
return System.Boolean

GetQualifiedType() public method

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