parameters: (node: Node)
return_statement: return node.value
docstring: Get value from Const node
      :param node: node to get value
      :return the value of the Const node
docstring_summary: Get value from Const node
      :param node: node to get value
      :return the value of the Const node
docstring_tokens: Get value from Const node : param node : node to get value : return the value of the Const node
function: def get_node_value(node: Node):
      """
      Get value from Const node
      :param node: node to get value
      :return the value of the Const node
      """
      if node.type != 'Const':
          raise Exception('Can\'t get value for non-constant node {}'.format(node.name))
      return node.value
function_tokens: def get_node_value ( node : Node ) : if node . type != 'Const' : raise Exception ( 'Can\'t get value for non-constant node {}' . format ( node . name ) ) return node . value