Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cc444e39
Kaydet (Commit)
cc444e39
authored
Mar 08, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Nits.
üst
bccc6402
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
libparser.tex
Doc/lib/libparser.tex
+8
-4
libparser.tex
Doc/libparser.tex
+8
-4
No files found.
Doc/lib/libparser.tex
Dosyayı görüntüle @
cc444e39
...
...
@@ -32,7 +32,7 @@ by the internal parser is required. For full information on the
language syntax, refer to the
\emph
{
Python Language Reference
}
. The
parser itself is created from a grammar specification defined in the file
\file
{
Grammar/Grammar
}
in the standard Python distribution. The parse
trees stored in the
``AST objects''
created by this module are the
trees stored in the
AST objects
created by this module are the
actual output from the internal parser when created by the
\function
{
expr()
}
or
\function
{
suite()
}
functions, described below. The AST
objects created by
\function
{
sequence2ast()
}
faithfully simulate those
...
...
@@ -267,13 +267,17 @@ to the descriptions of each function for detailed information.
\subsection
{
AST Objects
}
\label
{
AST Objects
}
AST objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
,
and
AST objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
and
\function
{
sequence2ast()
}
have no methods of their own.
Some of the functions defined which accept an AST object as their
first argument may change to object methods in the future. The type
of these objects is available as
\code
{
ASTType
}
in the module.
first argument may change to object methods in the future.
\begin{datadesc}
{
ASTType
}
The type of the objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
and
\function
{
sequence2ast()
}
.
Ordered and equality comparisons are supported between AST objects.
\end{datadesc}
\subsection
{
Examples
}
...
...
Doc/libparser.tex
Dosyayı görüntüle @
cc444e39
...
...
@@ -32,7 +32,7 @@ by the internal parser is required. For full information on the
language syntax, refer to the
\emph
{
Python Language Reference
}
. The
parser itself is created from a grammar specification defined in the file
\file
{
Grammar/Grammar
}
in the standard Python distribution. The parse
trees stored in the
``AST objects''
created by this module are the
trees stored in the
AST objects
created by this module are the
actual output from the internal parser when created by the
\function
{
expr()
}
or
\function
{
suite()
}
functions, described below. The AST
objects created by
\function
{
sequence2ast()
}
faithfully simulate those
...
...
@@ -267,13 +267,17 @@ to the descriptions of each function for detailed information.
\subsection
{
AST Objects
}
\label
{
AST Objects
}
AST objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
,
and
AST objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
and
\function
{
sequence2ast()
}
have no methods of their own.
Some of the functions defined which accept an AST object as their
first argument may change to object methods in the future. The type
of these objects is available as
\code
{
ASTType
}
in the module.
first argument may change to object methods in the future.
\begin{datadesc}
{
ASTType
}
The type of the objects returned by
\function
{
expr()
}
,
\function
{
suite()
}
and
\function
{
sequence2ast()
}
.
Ordered and equality comparisons are supported between AST objects.
\end{datadesc}
\subsection
{
Examples
}
...
...
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