Value tokens are integer ids of records stored in an AstArena.
arena.getType(token)
arena.getValue(token)
val
arena.getNumericValue(token)
arena.getUnit(token)
arena.getColorType(token)
kin
arena.tokens(token)
chi
arena.fieldTokens(token, TokenField.L)
l
r
op
Value tokens are integer ids of records stored in an AstArena.
arena.getType(token)is the token type (EnumToken),arena.getValue(token)is the string value (val),arena.getNumericValue(token)is the numeric value (val) of numbers, dimensions and percentages,arena.getUnit(token)is the unit,arena.getColorType(token)is the color kind (kin),arena.tokens(token)are the children (chi),arena.fieldTokens(token, TokenField.L)... are the structured fields (l,r,op, ...).