Package eu.bandm.tools.metajava.format
Class JavaFormatter
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.metajava.tdom.Visitor
eu.bandm.tools.metajava.format.GeneratedJavaFormatter
eu.bandm.tools.metajava.format.JavaFormatter
- All Implemented Interfaces:
PCDataVisitor
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final boolean
protected static final int
(package private) static final boolean
Fields inherited from class eu.bandm.tools.metajava.format.GeneratedJavaFormatter
CONST_0, CONST_1, CONST_10, CONST_100, CONST_101, CONST_102, CONST_103, CONST_104, CONST_105, CONST_106, CONST_107, CONST_108, CONST_109, CONST_11, CONST_110, CONST_111, CONST_112, CONST_113, CONST_114, CONST_115, CONST_116, CONST_117, CONST_118, CONST_119, CONST_12, CONST_120, CONST_121, CONST_13, CONST_14, CONST_15, CONST_16, CONST_17, CONST_18, CONST_19, CONST_2, CONST_20, CONST_21, CONST_22, CONST_23, CONST_24, CONST_25, CONST_26, CONST_27, CONST_28, CONST_29, CONST_3, CONST_30, CONST_31, CONST_32, CONST_33, CONST_34, CONST_35, CONST_36, CONST_37, CONST_38, CONST_39, CONST_4, CONST_40, CONST_41, CONST_42, CONST_43, CONST_44, CONST_45, CONST_46, CONST_47, CONST_48, CONST_49, CONST_5, CONST_50, CONST_51, CONST_52, CONST_53, CONST_54, CONST_55, CONST_56, CONST_57, CONST_58, CONST_59, CONST_6, CONST_60, CONST_61, CONST_62, CONST_63, CONST_64, CONST_65, CONST_66, CONST_67, CONST_68, CONST_69, CONST_7, CONST_70, CONST_71, CONST_72, CONST_73, CONST_74, CONST_75, CONST_76, CONST_77, CONST_78, CONST_79, CONST_8, CONST_80, CONST_81, CONST_82, CONST_83, CONST_84, CONST_85, CONST_86, CONST_87, CONST_88, CONST_89, CONST_9, CONST_90, CONST_91, CONST_92, CONST_93, CONST_94, CONST_95, CONST_96, CONST_97, CONST_98, CONST_99, default_delimiter, default_indent, format_empty, mode, result
Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
count()
protected int
static String
protected void
protected void
protected void
static String
protected void
unindent
(int... path) void
visit
(eu.bandm.tools.metajava.tdom.Element_charLiteral el) void
visit
(eu.bandm.tools.metajava.tdom.Element_decl el) void
visit
(eu.bandm.tools.metajava.tdom.Element_file el) void
visit
(eu.bandm.tools.metajava.tdom.Element_ifStmt el) void
visit
(eu.bandm.tools.metajava.tdom.Element_memberDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_meta el) void
visit
(eu.bandm.tools.metajava.tdom.Element_methodDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_newExpr el) void
visit
(eu.bandm.tools.metajava.tdom.Element_placeholderIndex el) void
visit
(eu.bandm.tools.metajava.tdom.Element_placeholderName el) void
visit
(eu.bandm.tools.metajava.tdom.Element_stringLiteral el) Methods inherited from class eu.bandm.tools.metajava.format.GeneratedJavaFormatter
__throwIt, toFormat, toFormat_array, toFormat_throwing, 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, 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, visit
Methods inherited from class eu.bandm.tools.metajava.tdom.Visitor
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, visit, visit, visit, visit
Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Field Details
-
TRANSFORM
static final boolean TRANSFORM- See Also:
-
TRACE
protected static final boolean TRACE- See Also:
-
TRACE_DEPTH
protected static final int TRACE_DEPTH- See Also:
-
LENGTH_PREFIX
protected static final int LENGTH_PREFIX
-
-
Constructor Details
-
JavaFormatter
public JavaFormatter()
-
-
Method Details
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_stringLiteral el) - Overrides:
visit
in classGeneratedJavaFormatter
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_charLiteral el) - Overrides:
visit
in classGeneratedJavaFormatter
-
quoteJava
-
rotateRight
protected void rotateRight() -
rotateLeft
protected void rotateLeft() -
rotateLeftList
protected void rotateLeftList() -
show
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_memberDeclarator el) - Overrides:
visit
in classGeneratedJavaFormatter
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_methodDeclarator el) - Overrides:
visit
in classGeneratedJavaFormatter
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_decl el) - Overrides:
visit
in classGeneratedJavaFormatter
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_newExpr el) - Overrides:
visit
in classGeneratedJavaFormatter
-
unindent
protected void unindent(int... path) -
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_ifStmt el) - Overrides:
visit
in classGeneratedJavaFormatter
-
count
protected int count() -
count
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_file el) - Overrides:
visit
in classGeneratedJavaFormatter
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_placeholderIndex el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_placeholderName el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_meta el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-