File: parser.py

package info (click to toggle)
kdevelop-python 5.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,364 kB
  • ctags: 87,869
  • sloc: python: 183,311; cpp: 16,695; xml: 1,106; sh: 14; makefile: 13
file content (80 lines) | stat: -rw-r--r-- 1,754 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# AUTO-GENERATED FILE -- DO NOT EDIT

""" This is an interface to Python's internal parser. """

class ASTType(object):
  """ Intermediate representation of a Python parse tree. """

  pass

class ParserError(Exception):

  pass

__copyright__ = """Copyright 1995-1996 by Virginia Polytechnic Institute & State
University, Blacksburg, Virginia, USA, and Fred L. Drake, Jr., Reston,
Virginia, USA.  Portions copyright 1991-1995 by Stichting Mathematisch
Centrum, Amsterdam, The Netherlands."""
__package__ = None
__version__ = '0.5'

def _pickler():
  """ Returns the pickle magic to allow ST objects to be pickled. """
  pass

def ast2list():
  """ Creates a list-tree representation of an ST. """
  pass

def ast2tuple():
  """ Creates a tuple-tree representation of an ST. """
  pass

def compileast():
  """ Compiles an ST object into a code object. """
  pass

def compilest():
  """ Compiles an ST object into a code object. """
  pass

def expr():
  """ Creates an ST object from an expression. """
  pass

def isexpr():
  """ Determines if an ST object was created from an expression. """
  pass

def issuite():
  """ Determines if an ST object was created from a suite. """
  pass

def sequence2ast():
  """ Creates an ST object from a tree representation. """
  pass

def sequence2st():
  """ Creates an ST object from a tree representation. """
  pass

def st2list():
  """ Creates a list-tree representation of an ST. """
  pass

def st2tuple():
  """ Creates a tuple-tree representation of an ST. """
  pass

def suite():
  """ Creates an ST object from a suite. """
  pass

def tuple2ast():
  """ Creates an ST object from a tree representation. """
  pass

def tuple2st():
  """ Creates an ST object from a tree representation. """
  pass