acceptOnSuccess

abstract fun <T> acceptOnSuccess(visitor: NodeVisitor<T>): T

Visits this node with the given visitor when no error is present.

Return

the result of visiting this node

Parameters

visitor

the visitor to accept