main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
354 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import Tag from "../Tag.mjs";
|
---|
| 2 | import { YamlNodeKind } from "../../nodes/YamlTag.mjs";
|
---|
| 3 | /* eslint-disable class-methods-use-this */
|
---|
| 4 | class GenericSequence extends Tag {
|
---|
| 5 | static uri = 'tag:yaml.org,2002:seq';
|
---|
| 6 | test(node) {
|
---|
| 7 | return node.tag.kind === YamlNodeKind.Sequence;
|
---|
| 8 | }
|
---|
| 9 | }
|
---|
| 10 | /* eslint-enable class-methods-use-this */
|
---|
| 11 |
|
---|
| 12 | export default GenericSequence; |
---|
Note:
See
TracBrowser
for help on using the repository browser.