Copy jison's pattern for exposing node.js module.
Don't fire triggered action on definition if autocalc is off.