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.
Constructor Summary |
PlainStringGenerator(java.lang.StringBuilder buf)
Initialize the StringGenerator with an output buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainStringGenerator
PlainStringGenerator(java.lang.StringBuilder buf)
- Initialize the StringGenerator with an output buffer.
- Parameters:
buf
- output buffer
afterExpression
protected void afterExpression(StringGenerator.Type type)
- Specified by:
afterExpression
in class StringGenerator
beforeExpression
protected void beforeExpression(StringGenerator.Type type)
- Specified by:
beforeExpression
in class StringGenerator
finishOutput
protected void finishOutput()
- Specified by:
finishOutput
in class StringGenerator
forceStringPrefix
protected void forceStringPrefix()
- Specified by:
forceStringPrefix
in class StringGenerator
forceStringSuffix
protected void forceStringSuffix()
- Specified by:
forceStringSuffix
in class StringGenerator