|
|||||||||
| Home >> All >> org >> cantaloop >> cgimlet >> [ lang overview ] | PREV NEXT | ||||||||
A
- AbstractCodeWriter - class org.cantaloop.cgimlet.lang.AbstractCodeWriter.
- Abstract class that contains useful method for code writers.
- AbstractCodeWriter() - Constructor for class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- Creates a new
AbstractCodeWriterinstance. - AbstractCodeWriter(File, boolean) - Constructor for class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- Creates a new
AbstractCodeWriterinstance. - AbstractModifier - class org.cantaloop.cgimlet.lang.AbstractModifier.
- Skeleton implementation of Modifier.
- AbstractModifier() - Constructor for class org.cantaloop.cgimlet.lang.AbstractModifier
- AbstractModifier(Modifier.Access, boolean, boolean) - Constructor for class org.cantaloop.cgimlet.lang.AbstractModifier
- AbstractUtils - class org.cantaloop.cgimlet.lang.AbstractUtils.
- AbstractUtils() - Constructor for class org.cantaloop.cgimlet.lang.AbstractUtils
- addConstructor() - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Creates a constructor for this class
- addField(FieldTemplate) - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Adds a field.
- addImport(String) - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Adds a class or a package that should be imported.
- addInterface(String) - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Adds the (fully qualified) name of a interface to the list of interfaces this class implements.
- addMethod(MethodTemplate) - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Adds a method.
- addParameter(Type, String) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Adds a parameter to the parameter list.
- append(String) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Append some code to the body.
- append(String, String[]) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Invokes
CGUtils.sprintf(String,String[])55 with the given arguments and appends the result to the body. - append(String, String) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Convinience method equivalent to
append(s, new String[] { a1 });. - append(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Convinience method equivalent to
append(s, new String[] { a1, a2 });. - append(String, String, String, String) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Convinience method equivalent to
append(s, new String[] { a1, a2, a3 });.
C
- CGUtils - interface org.cantaloop.cgimlet.lang.CGUtils.
- Interface that defines helper methods for generating common expression and statements in a programming language independent way.
- ClassTemplate - interface org.cantaloop.cgimlet.lang.ClassTemplate.
- This interface defines the requirements from which a class (or a similar top-level construct) can be generated.
- CodeCompiler - interface org.cantaloop.cgimlet.lang.CodeCompiler.
- Defines the interface of a compiler or interpreter.
- CodeWriter - interface org.cantaloop.cgimlet.lang.CodeWriter.
- Classes that want to print or write the generated code must implement this interface.
- CompileException - exception org.cantaloop.cgimlet.lang.CompileException.
- This exception is thrown if a
CodeCompileraborts the compilation due to an error or exits with an error code. - CompileException() - Constructor for class org.cantaloop.cgimlet.lang.CompileException
- CompileException(String) - Constructor for class org.cantaloop.cgimlet.lang.CompileException
- Creates a new
CompileExceptioninstance with the given error message. - ConstructorTemplate - interface org.cantaloop.cgimlet.lang.ConstructorTemplate.
- Template for a constructor of a class.
- callReturn(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Generates a return statement that returns
expr. - callSet(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Generate a statement for calling a set method.
- caseConcat(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- caseConcat(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- caseConcat(String, String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- caseConcat(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Concats s1 and s2 and makes sure that the first letter of s2 is an upper case letter.
- caseConcat(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Concats s1, s2 and s3 and makes sure that the first letter of s2 and s3 is an upper case letter.
- caseConcat(String, String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Concats s1, s2, s3 and s4 and makes sure that the first letter of s2, s3 and s4 is an upper case letter.
- compile(File) - Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Compiles the given file.
- compile(List) - Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Compiles the given list of files.
- createHelperMethod() - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Creates a new helper method.
F
- FieldTemplate - interface org.cantaloop.cgimlet.lang.FieldTemplate.
- A template for a field of a class.
G
- getAccess() - Method in class org.cantaloop.cgimlet.lang.AbstractModifier
- getAccess() - Method in interface org.cantaloop.cgimlet.lang.Modifier
- getBaseDir() - Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- getBaseDir() - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Get the base directory of the generated files.
- getBody() - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- getBoolType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represents a boolean in the concrete programming language.
- getClassTemplate(String, String) - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns a template for a class in the package
pkgwith namename. - getCode() - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- Returns the code for the field.
- getCode() - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- getCode() - Method in interface org.cantaloop.cgimlet.lang.Modifier
- Returns the code representing this modifier.
- getCode() - Method in interface org.cantaloop.cgimlet.lang.Template
- Returns the code for this template.
- getCodeWriter() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getCompiler() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getConstantFieldTemplate(Type, String) - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns a template for a field that represents a constant.
- getDoubleType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represents a floating-point number in the concrete programming language.
- getFieldTemplate(Type, String) - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getFinal() - Method in class org.cantaloop.cgimlet.lang.AbstractModifier
- getFinal() - Method in interface org.cantaloop.cgimlet.lang.Modifier
- getFullyQualifiedName() - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Get the fully qualified name of the class
- getInitValue() - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- Sets the code the field should be initialized with.
- getIntType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represents a integer in the concrete programming language.
- getListType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represent a list in the concrete programming language.
- getLogger() - Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Returns the logger.
- getMapType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represents a map (sometimes also called dictionary or associative array) in the concrete programming language.
- getMethodTemplate(String) - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getModifier() - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- getModifier() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getModifier(Modifier.Access, boolean, boolean) - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getModifier() - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns the modifier of this method.
- getName() - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Returns the simple name of the class
- getName() - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- getName() - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- getName() - Method in class org.cantaloop.cgimlet.lang.Type
- getPackage() - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Get the package the class is contained in.
- getPrettyPrintConfiguration() - Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- getPrettyPrintConfiguration() - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Get the configuration file for the pretty printer.
- getReturnType() - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- getSetType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represent a set in the concrete programming language.
- getStdErr() - Method in class org.cantaloop.cgimlet.lang.CompileException
- Returns the message that was written to standard error by the compiler.
- getStdOut() - Method in class org.cantaloop.cgimlet.lang.CompileException
- Returns the message that was written to standard error by the compiler.
- getStringType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represents a string in the concrete programming language.
- getTargetDir() - Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Returns the target directory of this compiler.
- getType() - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- getType(String) - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns a type for the given name.
- getUtils() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- getVoidType() - Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represent no type in the concrete programming language.
- getter(FieldTemplate) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- getter(FieldTemplate) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Factory method that returns a template for a get-method.
- getter(String, FieldTemplate) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Factory method that returns a template for a get-method.
I
- invoke(String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invoke(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invoke(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invoke(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodNamewith the given parameter. - invoke(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodNamewithparam1, param2as parameter. - invoke(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodName. - invoke(String, String[]) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodNamewith the given parameters. - invoke(String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method with the given parameter.
- invoke(String, String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method
with
param1, param2as parameter. - invoke() - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method.
- invoke(String[]) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method with the given parameters.
- invokeExpr(String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeExpr(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeExpr(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeExpr(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodNamewithparam1as parameter. - invokeExpr(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodNamewithparam1, param2as parameter. - invokeExpr(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodName. - invokeExpr(String, String[]) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodNamewith the given parameters. - invokeExpr(String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method
with
param1as parameter. - invokeExpr(String, String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method
with
param1, param2as parameter. - invokeExpr() - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method.
- invokeExpr(String[]) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method with the given parameters.
- invokeOn(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeOn(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeOn(String, String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeOn(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodNamewith the given parameter. - invokeOn(String, String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodNamewithparam1, param2as parameter. - invokeOn(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodName. - invokeOn(String, String, String[]) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the method named
methodNamewith the given parameters. - invokeOn(String, String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method with the given parameter.
- invokeOn(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method
with
param1, param2as parameter. - invokeOn(String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method.
- invokeOn(String, String[]) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a statement that invokes this method with the given parameters.
- invokeOnExpr(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeOnExpr(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeOnExpr(String, String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- invokeOnExpr(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodNamewithparam1as parameter. - invokeOnExpr(String, String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodNamewithparam1, param2as parameter. - invokeOnExpr(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodName. - invokeOnExpr(String, String, String[]) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a expression that invokes the method named
methodNamewith the given parameters. - invokeOnExpr(String, String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method
with
param1as parameter. - invokeOnExpr(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method
with
param1, param2as parameter. - invokeOnExpr(String) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method.
- invokeOnExpr(String, String[]) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Returns a expression that invokes this method with the given parameters.
- isPrettyPrinting() - Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- isPrettyPrinting() - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Check if pretty printing is enabled or not.
- isStatic() - Method in class org.cantaloop.cgimlet.lang.AbstractModifier
- isStatic() - Method in interface org.cantaloop.cgimlet.lang.Modifier
L
- LanguageFactory - interface org.cantaloop.cgimlet.lang.LanguageFactory.
- Factory class that creates the implementations of the interfaces in this package for a concrete programming language.
M
- MethodTemplate - interface org.cantaloop.cgimlet.lang.MethodTemplate.
- A template for a method.
- Modifier - interface org.cantaloop.cgimlet.lang.Modifier.
- Abstract representation of a modifier of a class, a field or a method.
- Modifier.Access - class org.cantaloop.cgimlet.lang.Modifier.Access.
- This inner class is used to define constants for the access level of the modifier (a so-called typesafe enumeration).
- Modifier.Access() - Constructor for class org.cantaloop.cgimlet.lang.Modifier.Access
- m_access - Variable in class org.cantaloop.cgimlet.lang.AbstractModifier
- m_baseDir - Variable in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- m_final - Variable in class org.cantaloop.cgimlet.lang.AbstractModifier
- m_name - Variable in class org.cantaloop.cgimlet.lang.Type
- m_prettyPrintConfig - Variable in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- m_prettyPrinting - Variable in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- m_static - Variable in class org.cantaloop.cgimlet.lang.AbstractModifier
- m_stdErr - Variable in class org.cantaloop.cgimlet.lang.CompileException
- m_stdOut - Variable in class org.cantaloop.cgimlet.lang.CompileException
- makeClassName(String, String, char) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- makeClassName(String, String, char) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Create a classname based on a template.
- mapPut(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- mapPut(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Returns a statement that invokes the
putmethod on the map namedmapNamewith the given key and value. - mapPut(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for:
mapPut("map", key, value). - mapStrPut(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- mapStrPut(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- mapStrPut(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Same as
mapPutexcept that key will be quoted. - mapStrPut(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for:
mapStrPut("map", key, value).
N
- newInstance(Type, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- newInstance(Type, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for
newInstance(type, name, type);. - newInstance(Type, String, Type) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Creates a statement that icreates a instance of
implTypeand stores that instance in the variablename. - nonfinalToFinalIdentifier(String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- Convert a (valid) identifier to a final identifier.
- nonfinalToFinalIdentifier(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Convert a (valid) identifier to a final identifier.
O
- org.cantaloop.cgimlet.lang - package org.cantaloop.cgimlet.lang
P
- PRIVATE - Static variable in class org.cantaloop.cgimlet.lang.Modifier.Access
- PROTECTED - Static variable in class org.cantaloop.cgimlet.lang.Modifier.Access
- PUBLIC - Static variable in class org.cantaloop.cgimlet.lang.Modifier.Access
- parameterToString() - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Returns a textual representation of the parameters.
Q
- quote(String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- quote(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
S
- setAccess(Modifier.Access) - Method in class org.cantaloop.cgimlet.lang.AbstractModifier
- setAccess(Modifier.Access) - Method in interface org.cantaloop.cgimlet.lang.Modifier
- setBaseDir(File) - Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- setBaseDir(File) - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Set the base directory of the generated files.
- setBody(String) - Method in interface org.cantaloop.cgimlet.lang.ConstructorTemplate
- Set the body of the constructor.
- setFinal(boolean) - Method in class org.cantaloop.cgimlet.lang.AbstractModifier
- setFinal(boolean) - Method in interface org.cantaloop.cgimlet.lang.Modifier
- setInitValue(String) - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- Sets the code the field should be initialized with.
- setLogger(Logger) - Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Sets the logger that should be used to log the messages of the compiler
- setModifier(Modifier) - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- setModifier(Modifier) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- Sets the modifier of this method.
- setParent(String) - Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Sets the name of the parent class (you must specify the fully qualified name if it is not in the same package).
- setPrettyPrintConfiguration(File) - Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- setPrettyPrintConfiguration(File) - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Set the configuration file for the pretty printer.
- setPrettyPrinting(boolean) - Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
- setPrettyPrinting(boolean) - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Specify if generated files should be pretty-printed.
- setReturnType(Type) - Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
- setStatic(boolean) - Method in class org.cantaloop.cgimlet.lang.AbstractModifier
- setStatic(boolean) - Method in interface org.cantaloop.cgimlet.lang.Modifier
- setStdErr(String) - Method in class org.cantaloop.cgimlet.lang.CompileException
- Sets the message that was written to standard error by the compiler.
- setStdOut(String) - Method in class org.cantaloop.cgimlet.lang.CompileException
- Sets the message that was written to standard out by the compiler.
- setTargetDir(File) - Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Sets the directory under which the compiled files should be placed.
- setType(Type) - Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
- setter(FieldTemplate) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- setter(FieldTemplate) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Factory method that returns a template for a set-method.
- setter(String, FieldTemplate) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Factory method that returns a template for a set-method.
- sprintf(String, String[]) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- sprintf(String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- sprintf(String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- sprintf(String, String, String, String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- sprintf(String, String[]) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- This method acts like the
sprintfroutine in C. - sprintf(String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for
sprintf(str, new String[]{arg1}). - sprintf(String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for
sprintf(str, new String[]{arg1,arg2}). - sprintf(String, String, String, String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for
sprintf(str, new String[]{arg1,arg2,arg3}). - stringToBoolean(String, boolean) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- stringToBoolean(String, boolean) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Converts a
Stringinto a boolean.
T
- Template - interface org.cantaloop.cgimlet.lang.Template.
- Basic requirements for a template.
- Type - class org.cantaloop.cgimlet.lang.Type.
- This class represents the type of a certain variable.
- Type(String) - Constructor for class org.cantaloop.cgimlet.lang.Type
- toFinalIdentifier(String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- toFinalIdentifier(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Convert
sinto a identifier which can be used for final fields etc. - toIdentifier(String) - Method in class org.cantaloop.cgimlet.lang.AbstractUtils
- toIdentifier(String) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Shorthand for
toIdentifier(s, false); - toIdentifier(String, boolean) - Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Convert
sinto an indentifier. - toString() - Method in class org.cantaloop.cgimlet.lang.Type
W
- write(ClassTemplate) - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Write the code for
tmpl. - write(ClassTemplate[]) - Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Write the code for
tmpls.
A C F G I L M N O P Q S T W
|
|||||||||
| Home >> All >> org >> cantaloop >> cgimlet >> [ lang overview ] | PREV NEXT | ||||||||