public class TsonFormatSanitizerAction extends Object implements net.thevpc.nuts.elem.NElementFormatterAction
| Modifier and Type | Class and Description |
|---|---|
static class |
TsonFormatSanitizerAction.CollisionType |
| Constructor and Description |
|---|
TsonFormatSanitizerAction(boolean strict,
boolean commaFirst) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(net.thevpc.nuts.elem.NElementFormatContext context) |
static String |
firstStringOfElement(net.thevpc.nuts.elem.NElement e) |
static String |
firstStringOfElement(net.thevpc.nuts.elem.NListItemElement e) |
static boolean |
isCloseSep(char c) |
boolean |
isCollision(net.thevpc.nuts.elem.NElement first,
net.thevpc.nuts.elem.NElement second) |
boolean |
isCollision(String first,
net.thevpc.nuts.elem.NElement second) |
boolean |
isCollision(String before,
String after) |
static boolean |
isDigit(char c) |
static boolean |
isFirstOrderSep(char c) |
static boolean |
isName(char c) |
static boolean |
isNameOrDigit(char c) |
static boolean |
isOp(char c) |
static boolean |
isOpenSep(char c) |
static String |
lastStringOfAffix(net.thevpc.nuts.elem.NAffix e) |
static String |
lastStringOfBoundAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
static String |
lastStringOfElement(net.thevpc.nuts.elem.NElement e) |
static String |
lastStringOfElement(net.thevpc.nuts.elem.NListItemElement i) |
TsonFormatSanitizerAction.CollisionType |
resolveCollision(net.thevpc.nuts.elem.NElement first,
net.thevpc.nuts.elem.NElement second) |
static TsonFormatSanitizerAction.CollisionType |
resolveCollision(String first,
net.thevpc.nuts.elem.NElement second) |
static TsonFormatSanitizerAction.CollisionType |
resolveCollision(String before,
String after) |
public TsonFormatSanitizerAction(boolean strict,
boolean commaFirst)
public void apply(net.thevpc.nuts.elem.NElementFormatContext context)
apply in interface net.thevpc.nuts.elem.NElementFormatterActionpublic static boolean isNameOrDigit(char c)
public static boolean isName(char c)
public static boolean isFirstOrderSep(char c)
public static boolean isDigit(char c)
public static boolean isCloseSep(char c)
public static boolean isOpenSep(char c)
public static boolean isOp(char c)
public boolean isCollision(net.thevpc.nuts.elem.NElement first,
net.thevpc.nuts.elem.NElement second)
public TsonFormatSanitizerAction.CollisionType resolveCollision(net.thevpc.nuts.elem.NElement first, net.thevpc.nuts.elem.NElement second)
public boolean isCollision(String first, net.thevpc.nuts.elem.NElement second)
public static TsonFormatSanitizerAction.CollisionType resolveCollision(String first, net.thevpc.nuts.elem.NElement second)
public static TsonFormatSanitizerAction.CollisionType resolveCollision(String before, String after)
public static String firstStringOfElement(net.thevpc.nuts.elem.NElement e)
public static String firstStringOfElement(net.thevpc.nuts.elem.NListItemElement e)
public static String lastStringOfElement(net.thevpc.nuts.elem.NListItemElement i)
public static String lastStringOfBoundAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes, net.thevpc.nuts.elem.NAffixAnchor anchor)
public static String lastStringOfAffix(net.thevpc.nuts.elem.NAffix e)
public static String lastStringOfElement(net.thevpc.nuts.elem.NElement e)
Copyright © 2026 vpc open source initiative. All rights reserved.