mirror of
				https://github.com/DanilaFe/abacus
				synced 2025-11-04 02:43:41 -08:00 
			
		
		
		
	Remove unnecessary nullability from parseString.
This commit is contained in:
		
							parent
							
								
									540e5d6099
								
							
						
					
					
						commit
						88e3bb7109
					
				@ -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.
 | 
			
		||||
     *
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user