Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101596406
Pyblio.Parsers.Syntax.BibTeX.Parser-module.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 11, 22:11
Size
16 KB
Mime Type
text/xml
Expires
Thu, Feb 13, 22:11 (2 d)
Engine
blob
Format
Raw Data
Handle
24197375
Attached To
R3596 pybliographer
Pyblio.Parsers.Syntax.BibTeX.Parser-module.html
View Options
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"en"
lang=
"en"
>
<head>
<title>
Pyblio.Parsers.Syntax.BibTeX.Parser
</title>
<link
rel=
"stylesheet"
href=
"epydoc.css"
type=
"text/css"
/>
<script
type=
"text/javascript"
src=
"epydoc.js"
></script>
</head>
<body
bgcolor=
"white"
text=
"black"
link=
"blue"
vlink=
"#204080"
alink=
"#204080"
>
<!-- ==================== NAVIGATION BAR ==================== -->
<table
class=
"navbar"
border=
"0"
width=
"100%"
cellpadding=
"0"
bgcolor=
"#a0c0ff"
cellspacing=
"0"
>
<tr
valign=
"middle"
>
<!-- Home link -->
<th>
<a
href=
"Pyblio-module.html"
>
Home
</a>
</th>
<!-- Tree link -->
<th>
<a
href=
"module-tree.html"
>
Trees
</a>
</th>
<!-- Index link -->
<th>
<a
href=
"identifier-index.html"
>
Indices
</a>
</th>
<!-- Help link -->
<th>
<a
href=
"help.html"
>
Help
</a>
</th>
<!-- Project homepage -->
<th
class=
"navbar"
align=
"right"
width=
"100%"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr><th
class=
"navbar"
align=
"center"
>
pyblio-core 1.3.4
</th>
</tr></table></th>
</tr>
</table>
<table
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
>
<tr
valign=
"top"
>
<td
width=
"100%"
>
<span
class=
"breadcrumbs"
>
<a
href=
"Pyblio-module.html"
>
Package
Pyblio
</a>
::
<a
href=
"Pyblio.Parsers-module.html"
>
Package
Parsers
</a>
::
<a
href=
"Pyblio.Parsers.Syntax-module.html"
>
Package
Syntax
</a>
::
<a
href=
"Pyblio.Parsers.Syntax.BibTeX-module.html"
>
Package
BibTeX
</a>
::
Module
Parser
</span>
</td>
<td>
<table
cellpadding=
"0"
cellspacing=
"0"
>
<!-- hide/show private -->
<tr><td
align=
"right"
><span
class=
"options"
>
[
<a
href=
"javascript:void(0);"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide
private
</a>
]
</span></td></tr>
<tr><td
align=
"right"
><span
class=
"options"
>
[
<a
href=
"frames.html"
target=
"_top"
>
frames
</a
>
]
|
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser-module.html"
target=
"_top"
>
no
frames
</a>
]
</span></td></tr>
</table>
</td>
</tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1
class=
"epydoc"
>
Module Parser
</h1><span
class=
"codelink"
><a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser-pysrc.html"
>
source
code
</a></span><br
/><br
/>
Stream oriented reading of a BibTeX file, with no actual semantic
operation on the content. Tries to return _everything_ from the file,
including comments, strings,...
<br
/><br
/>
<!-- ==================== CLASSES ==================== -->
<a
name=
"section-Classes"
></a>
<table
class=
"summary"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Classes
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-Classes"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.IBibTeX-class.html"
class=
"summary-name"
>
IBibTeX
</a>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Comment-class.html"
class=
"summary-name"
>
Comment
</a><br
/>
A bibtex file comment
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.ATComment-class.html"
class=
"summary-name"
>
ATComment
</a>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Record-class.html"
class=
"summary-name"
>
Record
</a>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Join-class.html"
class=
"summary-name"
>
Join
</a><br
/>
A value, as a concatenation of blocks
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Text-class.html"
class=
"summary-name"
>
Text
</a>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Cmd-class.html"
class=
"summary-name"
>
Cmd
</a><br
/>
A LaTeX \-command
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Block-class.html"
class=
"summary-name"
>
Block
</a><br
/>
A textual block, as a sequence of text and commands
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.EndOfFile-class.html"
class=
"summary-name"
>
EndOfFile
</a>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Cache-class.html"
class=
"summary-name"
>
Cache
</a>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser.Context-class.html"
class=
"summary-name"
>
Context
</a>
</td>
</tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a
name=
"section-Functions"
></a>
<table
class=
"summary"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Functions
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-Functions"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<table
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
>
<tr>
<td><span
class=
"summary-sig"
><a
name=
"_on_out"
></a><span
class=
"summary-sig-name"
>
_on_out
</span>
(
<span
class=
"summary-sig-arg"
>
fd
</span>
,
<span
class=
"summary-sig-arg"
>
ctx
</span>
)
</span><br
/>
Called when the parser is not in a record
</td>
<td
align=
"right"
valign=
"top"
>
<span
class=
"codelink"
><a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser-pysrc.html#_on_out"
>
source
code
</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<table
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
>
<tr>
<td><span
class=
"summary-sig"
><a
name=
"_on_open"
></a><span
class=
"summary-sig-name"
>
_on_open
</span>
(
<span
class=
"summary-sig-arg"
>
fd
</span>
,
<span
class=
"summary-sig-arg"
>
ctx
</span>
)
</span><br
/>
Called at the opening of a record
</td>
<td
align=
"right"
valign=
"top"
>
<span
class=
"codelink"
><a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser-pysrc.html#_on_open"
>
source
code
</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<table
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
>
<tr>
<td><span
class=
"summary-sig"
><a
name=
"read"
></a><span
class=
"summary-sig-name"
>
read
</span>
(
<span
class=
"summary-sig-arg"
>
fd
</span>
,
<span
class=
"summary-sig-arg"
>
charset
</span>
=
<span
class=
"summary-sig-default"
><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
utf-8
</code><code
class=
"variable-quote"
>
'
</code></span>
)
</span></td>
<td
align=
"right"
valign=
"top"
>
<span
class=
"codelink"
><a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser-pysrc.html#read"
>
source
code
</a></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a
name=
"section-Variables"
></a>
<table
class=
"summary"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Variables
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-Variables"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"_record_start"
></a><span
class=
"summary-name"
>
_record_start
</span>
=
<code
title=
"re.compile(r'\s*@\s*(\w+)(.*)')"
>
re.compile(r'\s
<code
class=
"re-op"
>
*
</code>
@\s
<code
class=
"re-op"
>
*
</code><code
class=
"re-group"
>
(
</code>
\w
<code
class=
"re-op"
>
+
</code><code
class=
"re-group"
>
)
</code><code
class=
"re-group"
>
(
</code>
.
<code
class=
"re-op"
>
*
</code><code
class=
"re-group"
>
)
</code>
')
</code>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"_brace_re"
></a><span
class=
"summary-name"
>
_brace_re
</span>
=
<code
title=
"re.compile(r'[\(\)"\{\}\\]')"
>
re.compile(r'
<code
class=
"re-group"
>
[
</code>
\(\)
"
\{\}\\
<code
class=
"re-group"
>
]
</code>
')
</code>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"_cmd_re"
></a><span
class=
"summary-name"
>
_cmd_re
</span>
=
<code
title=
"re.compile(r'(\w+|\S| )(.*)')"
>
re.compile(r'
<code
class=
"re-group"
>
(
</code>
\w
<code
class=
"re-op"
>
+
</code><code
class=
"re-op"
>
|
</code>
\S
<code
class=
"re-op"
>
|
</code>
<code
class=
"re-group"
>
)
</code><code
class=
"re-group"
>
(
</code>
.
<code
class=
"re-op"
>
*
</code><code
class=
"re-group"
>
)
</code>
')
</code>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"_inline_re"
></a><span
class=
"summary-name"
>
_inline_re
</span>
=
<code
title=
"re.compile(r'([,#=])')"
>
re.compile(r'
<code
class=
"re-group"
>
(
</code><code
class=
"re-group"
>
[
</code>
,#=
<code
class=
"re-group"
>
]
</code><code
class=
"re-group"
>
)
</code>
')
</code>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Parsers.Syntax.BibTeX.Parser-module.html#_fstm"
class=
"summary-name"
>
_fstm
</a>
=
<code
title=
"{ST_OUT: _on_out, ST_OPEN: _on_open,}"
><code
class=
"variable-group"
>
{
</code>
0
<code
class=
"variable-op"
>
:
</code>
<
function _on_out at 0x880dd84
>
<code
class=
"variable-op"
>
,
</code>
1
<code
class=
"variable-op"
>
:
</code>
<
function _on_
<code
class=
"variable-ellipsis"
>
...
</code></code>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"ST_DONE"
></a><span
class=
"summary-name"
>
ST_DONE
</span>
=
<code
title=
"2"
>
2
</code>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"ST_OPEN"
></a><span
class=
"summary-name"
>
ST_OPEN
</span>
=
<code
title=
"1"
>
1
</code>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"ST_OUT"
></a><span
class=
"summary-name"
>
ST_OUT
</span>
=
<code
title=
"0"
>
0
</code>
</td>
</tr>
</table>
<!-- ==================== VARIABLES DETAILS ==================== -->
<a
name=
"section-VariablesDetails"
></a>
<table
class=
"details"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Variables Details
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-VariablesDetails"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
</table>
<a
name=
"_fstm"
></a>
<div
class=
"private"
>
<table
class=
"details"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr><td>
<h3
class=
"epydoc"
>
_fstm
</h3>
<dl
class=
"fields"
>
</dl>
<dl
class=
"fields"
>
<dt>
Value:
</dt>
<dd><table><tr><td><pre
class=
"variable"
>
{ST_OUT: _on_out, ST_OPEN: _on_open,}
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<br
/>
<!-- ==================== NAVIGATION BAR ==================== -->
<table
class=
"navbar"
border=
"0"
width=
"100%"
cellpadding=
"0"
bgcolor=
"#a0c0ff"
cellspacing=
"0"
>
<tr
valign=
"middle"
>
<!-- Home link -->
<th>
<a
href=
"Pyblio-module.html"
>
Home
</a>
</th>
<!-- Tree link -->
<th>
<a
href=
"module-tree.html"
>
Trees
</a>
</th>
<!-- Index link -->
<th>
<a
href=
"identifier-index.html"
>
Indices
</a>
</th>
<!-- Help link -->
<th>
<a
href=
"help.html"
>
Help
</a>
</th>
<!-- Project homepage -->
<th
class=
"navbar"
align=
"right"
width=
"100%"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr><th
class=
"navbar"
align=
"center"
>
pyblio-core 1.3.4
</th>
</tr></table></th>
</tr>
</table>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%%"
>
<tr>
<td
align=
"left"
class=
"footer"
>
Generated by Epydoc 3.0beta1 on Thu Sep 13 21:54:19 2007
</td>
<td
align=
"right"
class=
"footer"
>
<a
href=
"http://epydoc.sourceforge.net"
>
http://epydoc.sourceforge.net
</a>
</td>
</tr>
</table>
<script
type=
"text/javascript"
>
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie
()
// -->
</script>
</body>
</html>
Event Timeline
Log In to Comment