org.crsh.lang.impl.groovy
Class GroovyLineEscaper
java.lang.Object
org.crsh.cli.impl.line.LineParser.Visitor
org.crsh.lang.impl.groovy.GroovyLineEscaper
class GroovyLineEscaper
- extends LineParser.Visitor
Escape CRLF to '\\' + 'n' inside quotes.
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
final StringBuilder buffer
- .
GroovyLineEscaper
GroovyLineEscaper()
onChar
public void onChar(int index,
Quoting quoting,
boolean backslash,
char c)
- Overrides:
onChar
in class LineParser.Visitor
openStrongQuote
public void openStrongQuote(int index)
- Overrides:
openStrongQuote
in class LineParser.Visitor
closeStrongQuote
public void closeStrongQuote(int index)
- Overrides:
closeStrongQuote
in class LineParser.Visitor
openWeakQuote
public void openWeakQuote(int index)
- Overrides:
openWeakQuote
in class LineParser.Visitor
closeWeakQuote
public void closeWeakQuote(int index)
- Overrides:
closeWeakQuote
in class LineParser.Visitor
Copyright © 2015 eXo Platform SAS. All Rights Reserved.