1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-09 00:45:19 +00:00

Merge pull request #29 from DanilaFe/fixes

Revert "Remove unnecessary nullability from parseString."
This commit is contained in:
2017-09-16 03:05:20 -07:00
committed by GitHub

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.
*