public class TextOutputVisitor extends JVisitor implements TextOutput
JVisitor
with a
TextOutput
.LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
TextOutputVisitor(TextOutput textOutput) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getLine() |
int |
getPosition() |
void |
indentIn() |
void |
indentOut() |
void |
newline() |
void |
newlineOpt() |
void |
print(char c) |
void |
print(char[] s) |
void |
print(String s) |
void |
printOpt(char c) |
void |
printOpt(char[] s) |
void |
printOpt(String s) |
accept, accept, accept, accept, accept, accept, acceptImmutable, acceptLvalue, acceptWithInsertRemove, acceptWithInsertRemoveImmutable, didChange, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, translateException, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public TextOutputVisitor(TextOutput textOutput)
public int getColumn()
getColumn
in interface TextOutput
public int getLine()
getLine
in interface TextOutput
public int getPosition()
getPosition
in interface TextOutput
public void indentIn()
indentIn
in interface TextOutput
public void indentOut()
indentOut
in interface TextOutput
public void newline()
newline
in interface TextOutput
public void newlineOpt()
newlineOpt
in interface TextOutput
public void print(char c)
print
in interface TextOutput
public void print(char[] s)
print
in interface TextOutput
public void print(String s)
print
in interface TextOutput
public void printOpt(char c)
printOpt
in interface TextOutput
public void printOpt(char[] s)
printOpt
in interface TextOutput
public void printOpt(String s)
printOpt
in interface TextOutput
Copyright © 2018. All rights reserved.