public class CLToken extends CLElement


Summary

Public constructors

CLToken(char[] content)

Public methods

static CLElement
allocate(char[] content)
boolean
CLToken.Type
boolean
boolean
validate(char c, long position)

Protected methods

String
toFormattedJSON(int indent, int forceIndent)
String

Inherited methods

From androidx.constraintlayout.core.parser.CLElement
void
addIndent(StringBuilder builder, int indent)
@NonNull CLElement
String
boolean
CLElement
String
long

The character index this element was ended on

float
int
int

get the line Number

long

The character index this element was started on

String
boolean

Whether this element has any valid content defined.

int
boolean
boolean
boolean
void
void
setEnd(long end)
void
setLine(int line)
void
setStart(long start)
String

Public constructors

CLToken

Added in 1.1.0
public CLToken(char[] content)

Public methods

allocate

Added in 1.1.0
public static CLElement allocate(char[] content)

getBoolean

Added in 1.1.0
public boolean getBoolean()

getType

Added in 1.1.0
public CLToken.Type getType()

isNull

Added in 1.1.0
public boolean isNull()

validate

Added in 1.1.0
public boolean validate(char c, long position)

Protected methods

toFormattedJSON

protected String toFormattedJSON(int indent, int forceIndent)

toJSON

protected String toJSON()