Atlas 0.7.0
Networking protocol for the Worldforge system.
|
Public Member Functions | |
def | __init__ (self, stream_flag=None) |
def | eos (self) |
def | feed (self, msg) |
def | context (self) |
def | add_value (self) |
def | push (self, value, mode=None, ch=None, excepted_value="") |
def | pop (self) |
def | get_next_mode (self, ch) |
def | add_comment (self, ch) |
def | skip_white_space (self, ch) |
def | int (self, ch) |
def | float (self, ch) |
def | quote (self, ch) |
def | string (self, ch) |
def | name (self, ch) |
Public Attributes | |
stack | |
mode | |
lineno | |
def atlas.codecs.bach.BachParser.__init__ | ( | self, | |
stream_flag = None |
|||
) |
uses tree that start from root_obj, current route to leave is kept in obj_stack
Definition at line 59 of file bach.py.
References atlas.codecs.bach.BachParser.lineno, atlas.codecs.parse_def.DefParser.lineno, atlas.codecs.bach.BachParser.mode, atlas.codecs.packed.PackedParser.mode, atlas.transport.file.File.mode, atlas.transport.negotiation.Negotiation.mode, atlas.transport.bridge.Bridge.setup(), atlas.codecs.decoder.BaseDecoder.setup(), atlas.codecs.parse_xml.AtlasParser.setup(), atlas.codecs.bach.BachParser.skip_white_space(), atlas.codecs.bach.BachParser.stack, and atlas.codecs.binary1.Binary1Parser.stack.
def atlas.codecs.bach.BachParser.add_comment | ( | self, | |
ch | |||
) |
Definition at line 153 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.add_value | ( | self | ) |
Definition at line 85 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.context | ( | self | ) |
Definition at line 82 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.eos | ( | self | ) |
end of stream
Definition at line 70 of file bach.py.
References atlas.codecs.bach.BachParser.add_comment(), atlas.codecs.bach.BachParser.add_value(), atlas.codecs.bach.BachParser.context(), atlas.codecs.decoder.BaseDecoder.data, atlas.codecs.packed.PackedParser.data, atlas.codecs.parse_xml.AtlasParser.data, atlas.codecs.bach.BachParser.float(), atlas.codecs.bach.BachParser.get_next_mode(), atlas.codecs.bach.BachParser.int(), atlas.codecs.bach.BachParser.lineno, atlas.codecs.parse_def.DefParser.lineno, atlas.codecs.bach.BachParser.mode, atlas.codecs.packed.PackedParser.mode, atlas.transport.file.File.mode, atlas.transport.negotiation.Negotiation.mode, atlas.codecs.binary1.Binary1Parser.msgList, atlas.codecs.decoder.BaseDecoder.msgList, atlas.codecs.parse_xml.AtlasParser.msgList, atlas.codecs.bach.Context.name, atlas.codecs.bach.BachParser.name(), atlas.codecs.binary1.Context.name, atlas.transport.file.File.name, Atlas::Funky::EncMapValue< B, T >.name, atlas.codecs.bach.BachParser.pop(), atlas.codecs.bach.BachParser.push(), atlas.codecs.packed.PackedParser.quote(), atlas.codecs.bach.BachParser.quote(), atlas.codecs.bach.BachParser.skip_white_space(), atlas.codecs.bach.BachParser.stack, atlas.codecs.binary1.Binary1Parser.stack, atlas.codecs.decoder.BaseDecoder.stream_flag, atlas.codecs.encoder.BaseEncoder.stream_flag, and atlas.codecs.bach.BachParser.string().
def atlas.codecs.bach.BachParser.feed | ( | self, | |
msg | |||
) |
Definition at line 74 of file bach.py.
Referenced by atlas.codecs.binary1.Binary1Parser.__init__(), and atlas.codecs.parse_xml.AtlasParser.setup().
def atlas.codecs.bach.BachParser.float | ( | self, | |
ch | |||
) |
Definition at line 179 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.get_next_mode | ( | self, | |
ch | |||
) |
Definition at line 133 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.int | ( | self, | |
ch | |||
) |
Definition at line 164 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.name | ( | self, | |
ch | |||
) |
Definition at line 202 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.pop | ( | self | ) |
Definition at line 117 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.push | ( | self, | |
value, | |||
mode = None , |
|||
ch = None , |
|||
excepted_value = "" |
|||
) |
Definition at line 111 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.quote | ( | self, | |
ch | |||
) |
Definition at line 188 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.skip_white_space | ( | self, | |
ch | |||
) |
Definition at line 159 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.__init__(), and atlas.codecs.bach.BachParser.eos().
def atlas.codecs.bach.BachParser.string | ( | self, | |
ch | |||
) |
Definition at line 193 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.eos().
atlas.codecs.bach.BachParser.lineno |
Definition at line 67 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.__init__(), atlas.codecs.bach.BachParser.eos(), and atlas.codecs.parse_def.DefParser.read_file().
atlas.codecs.bach.BachParser.mode |
Definition at line 66 of file bach.py.
Referenced by atlas.codecs.bach.BachParser.__init__(), atlas.codecs.packed.PackedParser.__init__(), atlas.codecs.bach.BachParser.eos(), and atlas.codecs.packed.PackedParser.eos().
atlas.codecs.bach.BachParser.stack |
Definition at line 65 of file bach.py.
Referenced by atlas.codecs.binary1.Binary1Parser.__init__(), atlas.codecs.bach.BachParser.__init__(), and atlas.codecs.bach.BachParser.eos().