Ignore:
Timestamp:
02/22/06 19:18:34 (8 years ago)
Author:
xi
Message:

Working on Constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pyyaml3000/lib/yaml/scanner.py

    r52 r55  
    11 
    2 # Tokens: 
    3 # YAML-DIRECTIVE(major_version, minor_version), TAG-DIRECTIVE(handle, prefix) 
    4 # RESERVED-DIRECTIVE(name) 
    5 # DOCUMENT-START, DOCUMENT-END 
    6 # BLOCK-SEQUENCE-START, BLOCK-MAPPING-START, BLOCK-END 
    7 # FLOW-SEQUENCE-START, FLOW-MAPPING-START, FLOW-SEQUENCE-END, FLOW-MAPPING-END 
    8 # ENTRY, KEY, VALUE 
    9 # ALIAS(name), ANCHOR(name), TAG(value), SCALAR(value, plain) 
     2# Scanner produces tokens of the following types: 
     3# DIRECTIVE(name, value) 
     4# DOCUMENT-START 
     5# DOCUMENT-END 
     6# STREAM-END 
     7# BLOCK-SEQUENCE-START 
     8# BLOCK-MAPPING-START 
     9# BLOCK-END 
     10# FLOW-SEQUENCE-START 
     11# FLOW-MAPPING-START 
     12# FLOW-SEQUENCE-END 
     13# FLOW-MAPPING-END 
     14# BLOCK-ENTRY 
     15# FLOW-ENTRY 
     16# KEY 
     17# VALUE 
     18# ALIAS(value) 
     19# ANCHOR(value) 
     20# TAG(value) 
     21# SCALAR(value, plain) 
    1022 
    1123__all__ = ['Scanner', 'ScannerError'] 
Note: See TracChangeset for help on using the changeset viewer.