public abstract class DeclarationGenerator extends Object
IASTDeclarators and IASTDeclSpecifiers
for a given type.| Constructor and Description |
|---|
DeclarationGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static DeclarationGenerator |
create(INodeFactory factory) |
abstract IASTDeclarator |
createDeclaratorFromType(IType type,
char[] name)
Creates a new
IASTDeclarator for a given IType. |
abstract IASTDeclSpecifier |
createDeclSpecFromType(IType type)
Creates a new
IASTDeclSpecifier for a given IType. |
public static DeclarationGenerator create(INodeFactory factory)
public abstract IASTDeclSpecifier createDeclSpecFromType(IType type)
IASTDeclSpecifier for a given IType.type - the type to describepublic abstract IASTDeclarator createDeclaratorFromType(IType type, char[] name)
IASTDeclarator for a given IType.type - the type to describename - the name for the declaratorCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.