1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-22 07:20:09 -08:00

Revert "Remove unnecessary nullability from parseString."

88e3bb7109
This commit is contained in:
Danila Fedorin 2017-09-16 03:02:35 -07:00
parent 14ac9c67f4
commit f6e326e0f1

View File

@ -88,7 +88,7 @@ class Abacus(val configuration: Configuration) {
* @param input the input string to parse
* @return the resulting tree, null if the tree builder or the produced tree are null.
*/
fun parseString(input: String): TreeNode = treeBuilder.fromString(input)
fun parseString(input: String): TreeNode? = treeBuilder.fromString(input)
/**
* Evaluates the given tree.
*