Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d67e12e6
Commit
d67e12e6
authored
Feb 20, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added \label{}s for logical addressing.
parent
7baf3d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Doc/lib/libparser.tex
Doc/lib/libparser.tex
+5
-0
Doc/libparser.tex
Doc/libparser.tex
+5
-0
No files found.
Doc/lib/libparser.tex
View file @
d67e12e6
...
...
@@ -93,6 +93,7 @@ query the type of parse tree represented by an AST object.
\subsection
{
Creating AST Objects
}
\label
{
Creating ASTs
}
AST objects may be created from source code or from a parse tree.
When creating an AST object from source, different functions are used
...
...
@@ -145,6 +146,7 @@ is maintained for backward compatibility.
\subsection
{
Converting AST Objects
}
\label
{
Converting ASTs
}
AST objects, regardless of the input used to create them, may be
converted to parse trees represented as list- or tuple- trees, or may
...
...
@@ -205,6 +207,7 @@ inspection of the parse tree.
\subsection
{
Queries on AST Objects
}
\label
{
Querying ASTs
}
Two functions are provided which allow an application to determine if
an AST was create as an expression or a suite. Neither of these
...
...
@@ -233,6 +236,7 @@ be supported in the future.
\subsection
{
Exceptions and Error Handling
}
\label
{
AST Errors
}
The parser module defines a single exception, but may also pass other
built-in exceptions from other portions of the Python runtime
...
...
@@ -261,6 +265,7 @@ to the descriptions of each function for detailed information.
\subsection
{
AST Objects
}
\label
{
AST Objects
}
AST objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
, and
\function
{
sequence2ast()
}
have no methods of their own.
...
...
Doc/libparser.tex
View file @
d67e12e6
...
...
@@ -93,6 +93,7 @@ query the type of parse tree represented by an AST object.
\subsection
{
Creating AST Objects
}
\label
{
Creating ASTs
}
AST objects may be created from source code or from a parse tree.
When creating an AST object from source, different functions are used
...
...
@@ -145,6 +146,7 @@ is maintained for backward compatibility.
\subsection
{
Converting AST Objects
}
\label
{
Converting ASTs
}
AST objects, regardless of the input used to create them, may be
converted to parse trees represented as list- or tuple- trees, or may
...
...
@@ -205,6 +207,7 @@ inspection of the parse tree.
\subsection
{
Queries on AST Objects
}
\label
{
Querying ASTs
}
Two functions are provided which allow an application to determine if
an AST was create as an expression or a suite. Neither of these
...
...
@@ -233,6 +236,7 @@ be supported in the future.
\subsection
{
Exceptions and Error Handling
}
\label
{
AST Errors
}
The parser module defines a single exception, but may also pass other
built-in exceptions from other portions of the Python runtime
...
...
@@ -261,6 +265,7 @@ to the descriptions of each function for detailed information.
\subsection
{
AST Objects
}
\label
{
AST Objects
}
AST objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
, and
\function
{
sequence2ast()
}
have no methods of their own.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment