detect(ast) {
    var detected = [];

    ast.traverseByType('block', (block) => {
      block.eachFor((node) => {
        if (node.is('declarationDelimiter')) {
          detected.push(true);
          return null;
        } else if (node.is('declaration')) {
          detected.push(false);
          return null;
        }
      });
    });

    return detected;
  }
Detects the value of this option in ast.
@param {Node} ast
@return {Array?} List of detected values