public interface ExpressionSubparser extends Parser, Comparable<ExpressionSubparser>
ExpressionSubparser| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(@NotNull ExpressionSubparser to) |
ExpressionSubparserWorker |
createWorker(Context context)
Creates worker of the current subparser
|
default ExpressionCategory |
getCategory()
Get category of the subparser
|
default int |
getMinimalRequiredLengthOfSource()
Get minimal required length of source to use the subparser.
|
default double |
getPriority()
Get priority of the subparser.
|
String |
getSubparserName()
Get name of the subparser
|
default ExpressionSubparserType |
getSubparserType()
Get type of the subparser
|
ExpressionSubparserWorker createWorker(Context context)
context - the context to use by the workerdefault int compareTo(@NotNull
@NotNull ExpressionSubparser to)
compareTo in interface Comparable<ExpressionSubparser>default int getMinimalRequiredLengthOfSource()
ExpressionParser to improve performance.default ExpressionSubparserType getSubparserType()
ExpressionSubparserTypedefault ExpressionCategory getCategory()
ExpressionCategorydefault double getPriority()
String getSubparserName()
Copyright © 2020. All rights reserved.