parameters: (location: Location, name: str)
return_statement: return AST(p_ast[0])
docstring: Construct an AST node of type `ASTType.Variable`.
docstring_summary: Construct an AST node of type `ASTType.Variable`.
docstring_tokens: Construct an AST node of type ASTType . Variable .
function: def Variable(location: Location, name: str) -> AST:
      '''
      Construct an AST node of type `ASTType.Variable`.
      '''
      p_ast = _ffi.new('clingo_ast_t**')
      c_location = _c_location(location)
      _handle_error(_lib.clingo_ast_build(
          _lib.clingo_ast_type_variable, p_ast,
          c_location[0],
          _ffi.new('char const[]', name.encode())))
      return AST(p_ast[0])
function_tokens: def Variable ( location : Location , name : str ) -> AST : p_ast = _ffi . new ( 'clingo_ast_t**' ) c_location = _c_location ( location ) _handle_error ( _lib . clingo_ast_build ( _lib . clingo_ast_type_variable , p_ast , c_location [ 0 ] , _ffi . new ( 'char const[]' , name . encode ( ) ) ) ) return AST ( p_ast [ 0 ] )