C# Class AST.DeclnSpecs

declaration-specifiers : [ storage-class-specifier | Type-specifier | Type-qualifier ]+
Inheritance: SpecQualList
显示文件 Open project: phisiart/C-Compiler Class Usage Examples

Public Methods

Method Description
Add ( DeclnSpecs declnSpecs, StorageClsSpec storageClsSpec ) : DeclnSpecs
Add ( DeclnSpecs declnSpecs, TypeQual typeQual ) : DeclnSpecs
Add ( DeclnSpecs declnSpecs, TypeSpec typeSpec ) : DeclnSpecs
Create ( ImmutableList storageClsSpecs, ImmutableList typeSpecs, ImmutableList typeQuals ) : DeclnSpecs

Private Methods

Method Description
DeclnSpecs ( ImmutableList storageClsSpecs, ImmutableList typeSpecs, ImmutableList typeQuals ) : System
GetStorageClass ( ) : StorageClass
IsTypedef ( ) : bool

Method Details

Add() public static method

public static Add ( DeclnSpecs declnSpecs, StorageClsSpec storageClsSpec ) : DeclnSpecs
declnSpecs DeclnSpecs
storageClsSpec StorageClsSpec
return DeclnSpecs

Add() public static method

public static Add ( DeclnSpecs declnSpecs, TypeQual typeQual ) : DeclnSpecs
declnSpecs DeclnSpecs
typeQual TypeQual
return DeclnSpecs

Add() public static method

public static Add ( DeclnSpecs declnSpecs, TypeSpec typeSpec ) : DeclnSpecs
declnSpecs DeclnSpecs
typeSpec TypeSpec
return DeclnSpecs

Create() public static method

public static Create ( ImmutableList storageClsSpecs, ImmutableList typeSpecs, ImmutableList typeQuals ) : DeclnSpecs
storageClsSpecs ImmutableList
typeSpecs ImmutableList
typeQuals ImmutableList
return DeclnSpecs