Class ScalarToken

Synopsis

class ScalarToken(Token)

Description

No description yet.

Mentioned in

Inheritance

Ancestors: Token

Methods

__init__

Source

Lines 96-105 in lib3/yaml/tokens.py.

class ScalarToken(Token):
    id = '<scalar>'
    def __init__(self, value, plain, start_mark, end_mark, style=None):
        self.value = value
        self.plain = plain
        self.start_mark = start_mark
        self.end_mark = end_mark
        self.style = style






Add Discussion as Guest

Log in