def unknown_sequence_node(): ynode = yaml.SequenceNode('tag:yaml.org,2002:seq', []) return yatiml.UnknownNode(Recognizer({}), ynode)
def unknown_scalar_node(): ynode = yaml.ScalarNode('tag:yaml.org,2002:int', '23') return yatiml.UnknownNode(Recognizer({}), ynode)
def unknown_node(yaml_node): return yatiml.UnknownNode(Recognizer({}), yaml_node)
def unknown_sequence_node(recognizer: Recognizer) -> yatiml.UnknownNode: ynode = yaml.SequenceNode('tag:yaml.org,2002:seq', []) return yatiml.UnknownNode(recognizer, ynode)
def unknown_scalar_node(recognizer: Recognizer) -> yatiml.UnknownNode: ynode = yaml.ScalarNode('tag:yaml.org,2002:int', '23') return yatiml.UnknownNode(recognizer, ynode)
def unknown_node(recognizer: Recognizer, yaml_node: yaml.Node) -> yatiml.UnknownNode: return yatiml.UnknownNode(recognizer, yaml_node)