org.jrubyparser.rewriter.utils
Class ReWriterContext
java.lang.Object
org.jrubyparser.rewriter.utils.ReWriterContext
public class ReWriterContext
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReWriterContext
public ReWriterContext(PrintWriter output,
String source,
FormatHelper formatHelper)
ReWriterContext
public ReWriterContext(StringWriter output,
String source,
FormatHelper formatHelper)
getLocalVariables
public LocalVariables getLocalVariables()
getCallDepth
public CallDepth getCallDepth()
getSource
public String getSource()
getIndentor
public Indenter getIndentor()
getLastPosition
public SourcePosition getLastPosition()
setLastPosition
public void setLastPosition(SourcePosition lastPosition)
getPrintQuotesInString
public BooleanStateStack getPrintQuotesInString()
hasHereDocument
public boolean hasHereDocument()
fetchHereDocument
public HereDocument fetchHereDocument()
depositHereDocument
public void depositHereDocument(String hereDocument)
isSkipNextNewline
public boolean isSkipNextNewline()
setSkipNextNewline
public void setSkipNextNewline(boolean skipNextNewline)
getOutput
public PrintWriter getOutput()
setOutput
public void setOutput(PrintWriter output)
getFormatHelper
public FormatHelper getFormatHelper()
Copyright © 2013. All Rights Reserved.