Package hydra.ast
Class Ws
- java.lang.Object
-
- hydra.ast.Ws
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Ws.Break
,Ws.BreakAndIndent
,Ws.DoubleBreak
,Ws.None
,Ws.Space
public abstract class Ws extends java.lang.Object implements java.io.Serializable
One of several classes of whitespace- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ws.Break
static class
Ws.BreakAndIndent
static class
Ws.DoubleBreak
static class
Ws.None
static interface
Ws.PartialVisitor<R>
static class
Ws.Space
static interface
Ws.Visitor<R>
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_BREAK
static Name
FIELD_NAME_BREAK_AND_INDENT
static Name
FIELD_NAME_DOUBLE_BREAK
static Name
FIELD_NAME_NONE
static Name
FIELD_NAME_SPACE
static Name
TYPE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> R
accept(Ws.Visitor<R> visitor)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_NONE
public static final Name FIELD_NAME_NONE
-
FIELD_NAME_SPACE
public static final Name FIELD_NAME_SPACE
-
FIELD_NAME_BREAK
public static final Name FIELD_NAME_BREAK
-
FIELD_NAME_BREAK_AND_INDENT
public static final Name FIELD_NAME_BREAK_AND_INDENT
-
FIELD_NAME_DOUBLE_BREAK
public static final Name FIELD_NAME_DOUBLE_BREAK
-
-
Method Detail
-
accept
public abstract <R> R accept(Ws.Visitor<R> visitor)
-
-