Class DirectiveToken

Synopsis

class DirectiveToken(Token)

Description

No description yet.

Mentioned in

Inheritance

Ancestors: Token

Methods

__init__

Source

Lines 17-25 in lib3/yaml/tokens.py.

class DirectiveToken(Token):
    id = '<directive>'
    def __init__(self, name, value, start_mark, end_mark):
        self.name = name
        self.value = value
        self.start_mark = start_mark
        self.end_mark = end_mark

class DocumentStartToken(Token):





Add Discussion as Guest

Log in