public final class Indentation extends EqualableToken
| Constructor and Description |
|---|
Indentation(int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
TokenType |
getType()
Get type of the token represented by
TokenType |
String |
getValue()
Get value of the token
|
static Indentation |
valueOf(String paragraph)
Create indentation based on paragraph
|
equals, hashCode, toStringpublic int getSize()
public String getValue()
TokengetValue in interface TokengetValue in class EqualableTokenpublic TokenType getType()
TokenTokenTypegetType in interface TokengetType in class EqualableTokenpublic static Indentation valueOf(String paragraph)
paragraph - StringUtils.extractParagraph(String)Copyright © 2020. All rights reserved.