|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.antlr.stringtemplate.language.Expr org.antlr.stringtemplate.language.StringRef
public class StringRef
Represents a chunk of just simple text to spit out; nothing to "evaluate"
Field Summary |
---|
Fields inherited from class org.antlr.stringtemplate.language.Expr |
---|
enclosingTemplate, indentation |
Constructor Summary | |
---|---|
StringRef(StringTemplate enclosingTemplate,
java.lang.String str)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
int |
write(StringTemplate self,
StringTemplateWriter out)
Just print out the string; no reference to self because this is a literal--not sensitive to attribute values. |
Methods inherited from class org.antlr.stringtemplate.language.Expr |
---|
getEnclosingTemplate, getIndentation, setIndentation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringRef(StringTemplate enclosingTemplate, java.lang.String str)
Method Detail |
---|
public int write(StringTemplate self, StringTemplateWriter out) throws java.io.IOException
write
in class Expr
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |