menu
advance_math package
documentation
advance_math.dart
UnaryExpression
depth method
depth method
dark_mode
light_mode
depth
method
@
override
int
depth
(
)
override
Calculate the depth of the expression tree.
Implementation
@override int depth() { return 1 + operand.depth(); }
advance_math package
documentation
advance_math
UnaryExpression
depth method
UnaryExpression class