Package com.google.gwt.codegen.server
Class PlainStringGenerator
- java.lang.Object
-
- com.google.gwt.codegen.server.StringGenerator
-
- com.google.gwt.codegen.server.PlainStringGenerator
-
class PlainStringGenerator extends StringGenerator
Helper class to produce string expressions consisting of literals and computed values.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.codegen.server.StringGenerator
StringGenerator.Type
-
-
Field Summary
-
Fields inherited from class com.google.gwt.codegen.server.StringGenerator
buf, inString
-
-
Constructor Summary
Constructors Constructor Description PlainStringGenerator(java.lang.StringBuilder buf)
Initialize the StringGenerator with an output buffer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterExpression(StringGenerator.Type type)
protected void
beforeExpression(StringGenerator.Type type)
protected void
finishOutput()
protected void
forceStringPrefix()
protected void
forceStringSuffix()
-
Methods inherited from class com.google.gwt.codegen.server.StringGenerator
appendExpression, appendStringLiteral, appendStringValuedExpression, completeString, create
-
-
-
-
Method Detail
-
afterExpression
protected void afterExpression(StringGenerator.Type type)
- Specified by:
afterExpression
in classStringGenerator
-
beforeExpression
protected void beforeExpression(StringGenerator.Type type)
- Specified by:
beforeExpression
in classStringGenerator
-
finishOutput
protected void finishOutput()
- Specified by:
finishOutput
in classStringGenerator
-
forceStringPrefix
protected void forceStringPrefix()
- Specified by:
forceStringPrefix
in classStringGenerator
-
forceStringSuffix
protected void forceStringSuffix()
- Specified by:
forceStringSuffix
in classStringGenerator
-
-