class CLToken : CLElement


Summary

Public constructors

CLToken(content: CharArray!)

Public functions

java-static CLElement!
allocate(content: CharArray!)
Boolean
CLToken.Type!
Boolean
Boolean
validate(c: Char, position: Long)

Protected functions

String!
toFormattedJSON(indent: Int, forceIndent: Int)
String!

Inherited functions

From androidx.constraintlayout.core.parser.CLElement
Unit
addIndent(builder: StringBuilder!, indent: Int)
CLElement
String!
Boolean
equals(o: Any!)
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
Unit
Unit
setEnd(end: Long)
Unit
setLine(line: Int)
Unit
setStart(start: Long)
String!

Public constructors

CLToken

Added in 1.1.0
CLToken(content: CharArray!)

Public functions

allocate

Added in 1.1.0
java-static fun allocate(content: CharArray!): CLElement!

getType

Added in 1.1.0
fun getType(): CLToken.Type!

validate

Added in 1.1.0
fun validate(c: Char, position: Long): Boolean

Protected functions

toFormattedJSON

protected fun toFormattedJSON(indent: Int, forceIndent: Int): String!

toJSON

protected fun toJSON(): String!