org.eclipse.xtext.xbase.compiler
Class DelegatingAppendable
java.lang.Object
org.eclipse.xtext.xbase.compiler.DelegatingAppendable
- All Implemented Interfaces:
- IAppendable
public class DelegatingAppendable
- extends java.lang.Object
- implements IAppendable
- Author:
- Sven Efftinge - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingAppendable
public DelegatingAppendable(IAppendable appendable)
append
public IAppendable append(java.lang.Object obj)
- Specified by:
append
in interface IAppendable
increaseIndentation
public IAppendable increaseIndentation()
- Specified by:
increaseIndentation
in interface IAppendable
decreaseIndentation
public IAppendable decreaseIndentation()
- Specified by:
decreaseIndentation
in interface IAppendable
getImports
public java.util.List<java.lang.String> getImports()
- Specified by:
getImports
in interface IAppendable
openScope
public void openScope()
- Specified by:
openScope
in interface IAppendable
declareVariable
public java.lang.String declareVariable(java.lang.Object key,
java.lang.String proposedName)
- Specified by:
declareVariable
in interface IAppendable
getName
public java.lang.String getName(java.lang.Object key)
- Specified by:
getName
in interface IAppendable
closeScope
public void closeScope()
- Specified by:
closeScope
in interface IAppendable