SimplifyParentheses

Removes unnecessary parentheses from OperandSyntax.

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
constructor(precedenceFunction: (MathSyntax) -> Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun perform(node: MathSyntax)

Performs the specified action over MathSyntax.

Properties

Link copied to clipboard

Returns the precedence number for syntax node. Higher number is lower priority.