C# Class ABT.StructOrUnionType

Afficher le fichier Open project: phisiart/C-Compiler Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
StructOrUnionType ( StructOrUnionLayout layout, System.Boolean isConst, System.Boolean isVolatile ) : System

Method Details

CreateIncompleteStruct() public static méthode

public static CreateIncompleteStruct ( String name, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
name String
is_const System.Boolean
is_volatile System.Boolean
Résultat StructOrUnionType

CreateIncompleteType() public static méthode

public static CreateIncompleteType ( AST structOrUnion, String name ) : StructOrUnionType
structOrUnion AST
name String
Résultat StructOrUnionType

CreateIncompleteUnion() public static méthode

public static CreateIncompleteUnion ( String name, System.Boolean is_const, System.Boolean is_volatile ) : StructOrUnionType
name String
is_const System.Boolean
is_volatile System.Boolean
Résultat StructOrUnionType

CreateStruct() public static méthode

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
Résultat StructOrUnionType

CreateUnion() public static méthode

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
Résultat StructOrUnionType

Decl() public méthode

public Decl ( String name, Int32 precedence ) : String
name String
precedence System.Int32
Résultat String

Define() public méthode

public Define ( AST structOrUnion, ImmutableList members ) : void
structOrUnion AST
members ImmutableList
Résultat void

DefineStruct() public méthode

public DefineStruct ( ExprType>.IReadOnlyList attribs ) : void
attribs ExprType>.IReadOnlyList
Résultat void

DefineUnion() public méthode

public DefineUnion ( ExprType>.IReadOnlyList attribs ) : void
attribs ExprType>.IReadOnlyList
Résultat void

Dump() public méthode

public Dump ( System.Boolean dump_attribs ) : String
dump_attribs System.Boolean
Résultat String

EqualType() public méthode

public EqualType ( ExprType other ) : System.Boolean
other ExprType
Résultat System.Boolean

GetQualifiedType() public méthode

public GetQualifiedType ( System.Boolean isConst, System.Boolean isVolatile ) : ExprType
isConst System.Boolean
isVolatile System.Boolean
Résultat ExprType