Package | Description |
---|---|
org.scijava.parsington |
Modifier and Type | Method and Description |
---|---|
static Number |
Literals.parseBinary(CharSequence s,
Position pos)
Parses a binary literal (e.g.,
0b010101000011 ). |
static Boolean |
Literals.parseBoolean(CharSequence s,
Position pos)
Parses a boolean literal (i.e., true and false).
|
static Number |
Literals.parseDecimal(CharSequence s,
Position pos)
Parses a decimal literal (e.g.,
1234.0987 or 1.2e34 ). |
static Number |
Literals.parseHex(CharSequence s,
Position pos)
Parses a hexidecimal literal (e.g.,
0xfedcba9876543210 ). |
static Object |
Literals.parseLiteral(CharSequence s,
Position pos)
Parses a literal of any known type (booleans, strings and numbers).
|
static Number |
Literals.parseNumber(CharSequence s,
Position pos)
Parses a numeric literal of any known type.
|
static Number |
Literals.parseOctal(CharSequence s,
Position pos)
Parses an octal literal (e.g.,
01234567 ). |
static String |
Literals.parseString(CharSequence s,
Position pos)
Parses a string literal which is enclosed in single or double quotes.
|
Copyright © 2015–2022 SciJava. All rights reserved.