code: function getStateVariableDeclarationsFormContractNode (contractNode) {
    if (!isContractDefinition(contractNode)) throw new Error('staticAnalysisCommon.js: not a contract definition declaration')
    if (!contractNode.children) return []
    return contractNode.children.filter((el) => isVariableDeclaration(el))
  }
docs: Returns state variable declaration nodes for a contract, Throws on wrong node.
  Example:
  contract foo {
  ...
  var y = true;
  var x = 10; => [y,x]
  @contractNode {ASTNode} Contract Definition node
  @return {list variable declaration} state variable node list