|
Cantaloop CGimlet - API Documentation, Version: 0.2.0, Date: 2002-05-13 21:30 CEST | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Factory class that creates the implementations of the interfaces in this package for a concrete programming language.
Method Summary | |
Type |
getBoolType()
Returns the type that represents a boolean in the concrete programming language. |
ClassTemplate |
getClassTemplate(java.lang.String pkg,
java.lang.String name)
Returns a template for a class in the package pkg
with name name . |
CodeWriter |
getCodeWriter()
|
CodeCompiler |
getCompiler()
|
FieldTemplate |
getConstantFieldTemplate(Type type,
java.lang.String name)
Returns a template for a field that represents a constant. |
Type |
getDoubleType()
Returns the type that represents a floating-point number in the concrete programming language. |
FieldTemplate |
getFieldTemplate(Type type,
java.lang.String name)
|
Type |
getIntType()
Returns the type that represents a integer in the concrete programming language. |
Type |
getListType()
Returns the type that represent a list in the concrete programming language. |
Type |
getMapType()
Returns the type that represents a map (sometimes also called dictionary or associative array) in the concrete programming language. |
MethodTemplate |
getMethodTemplate(java.lang.String name)
|
Modifier |
getModifier()
|
Modifier |
getModifier(Modifier.Access acc,
boolean isStatic,
boolean isFinal)
|
Type |
getSetType()
Returns the type that represent a set in the concrete programming language. |
Type |
getStringType()
Returns the type that represents a string in the concrete programming language. |
Type |
getType(java.lang.String name)
Returns a type for the given name. |
CGUtils |
getUtils()
|
Type |
getVoidType()
Returns the type that represent no type in the concrete programming language. |
Method Detail |
public CodeWriter getCodeWriter()
public CGUtils getUtils()
public ClassTemplate getClassTemplate(java.lang.String pkg, java.lang.String name)
pkg
with name name
.public MethodTemplate getMethodTemplate(java.lang.String name)
public FieldTemplate getFieldTemplate(Type type, java.lang.String name)
public FieldTemplate getConstantFieldTemplate(Type type, java.lang.String name)
type
- the type of the fieldname
- the name of the fieldFieldTemplate
valuepublic Modifier getModifier()
public Modifier getModifier(Modifier.Access acc, boolean isStatic, boolean isFinal)
public Type getStringType()
public Type getIntType()
public Type getDoubleType()
public Type getBoolType()
public Type getMapType()
public Type getSetType()
public Type getListType()
public Type getVoidType()
public Type getType(java.lang.String name)
public CodeCompiler getCompiler()
|
Copyright 2001, 2002 Stefan Heimann, David Leuschner. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |