public class TypeStatement extends Statement
| Constructor and Description |
|---|
TypeStatement(SourceRange sourceRange,
String name,
FullType fullType)
Creates a TypeStatement which associates a name to a FullType.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Context context)
Execute this Statement within the given context.
|
String |
getName()
Retrieve the name of the defined type.
|
String |
toString()
Return a reasonable string representation of this statement.
|
getSourceRangepublic TypeStatement(SourceRange sourceRange, String name, FullType fullType)
sourceRange - source location of this statementname - String giving the name of this typefullType - type definitionpublic String getName()
public void execute(Context context)
StatementCopyright © 2014 Quattor. All Rights Reserved.