public class IndentationFixer extends Object implements ParserVisitor
Modifier and Type | Field and Description |
---|---|
protected String |
extraIndentation |
protected Pattern |
fix |
protected String |
parentIndentation |
Constructor and Description |
---|
IndentationFixer(String parentIndentation) |
protected String parentIndentation
protected String extraIndentation
protected Pattern fix
public IndentationFixer(String parentIndentation)
protected void fillExtraIndentation(String prefix)
public Object visit(SimpleNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTprocess node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTText node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTEscapedDirective node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTEscape node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTComment node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTTextblock node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTFloatingPointLiteral node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTIntegerLiteral node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTStringLiteral node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTIdentifier node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTWord node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTDirectiveAssign node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTDirective node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTBlock node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTMap node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTObjectArray node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTIntegerRange node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTMethod node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTIndex node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTReference node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTTrue node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTFalse node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTIfStatement node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTElseStatement node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTElseIfStatement node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTSetDirective node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTExpression node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTAssignment node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTOrNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTAndNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTEQNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTNENode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTLTNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTGTNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTLENode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTGENode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTAddNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTSubtractNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTMulNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTDivNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTModNode node, Object data)
visit
in interface ParserVisitor
public Object visit(ASTNotNode node, Object data)
visit
in interface ParserVisitor
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.