public static class Scanner.Token extends Object
Constructor and Description |
---|
Token(Scanner.Symbol symbol,
String image) |
Token(Scanner.Symbol symbol,
String image,
int length) |
Modifier and Type | Method and Description |
---|---|
String |
getImage() |
int |
getSize() |
Scanner.Symbol |
getSymbol() |
String |
toString() |
public Token(Scanner.Symbol symbol, String image)
public Token(Scanner.Symbol symbol, String image, int length)
public Scanner.Symbol getSymbol()
public String getImage()
public int getSize()
Copyright © 2022. All rights reserved.