define(["require","exports","../test/testRunner"],(function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,a.testTokenization)("yaml",[[{line:"%YAML 1.2",tokens:[{startIndex:0,type:"meta.directive.yaml"}]}],[{line:"#Comment",tokens:[{startIndex:0,type:"comment.yaml"}]}],[{line:"---",tokens:[{startIndex:0,type:"operators.directivesEnd.yaml"}]}],[{line:"...",tokens:[{startIndex:0,type:"operators.documentEnd.yaml"}]}],[{line:"!",tokens:[{startIndex:0,type:"tag.yaml"}]}],[{line:"key:",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"}]}],[{line:"key: value",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:'":": value',tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:"!!str string",tokens:[{startIndex:0,type:"tag.yaml"},{startIndex:5,type:"white.yaml"},{startIndex:6,type:"string.yaml"}]}],[{line:"anchor: &anchor",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:6,type:"operators.yaml"},{startIndex:7,type:"white.yaml"},{startIndex:8,type:"namespace.yaml"}]}],[{line:"alias: *alias",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:5,type:"operators.yaml"},{startIndex:6,type:"white.yaml"},{startIndex:7,type:"namespace.yaml"}]}],[{line:"'''",tokens:[{startIndex:0,type:"string.yaml"},{startIndex:2,type:"string.invalid.yaml"}]}],[{line:">",tokens:[{startIndex:0,type:"operators.yaml"}]},{line:" String",tokens:[{startIndex:0,type:"string.yaml"}]}],[{line:"- one",tokens:[{startIndex:0,type:"operators.yaml"},{startIndex:1,type:"white.yaml"},{startIndex:2,type:"string.yaml"}]},{line:"? two",tokens:[{startIndex:0,type:"operators.yaml"},{startIndex:1,type:"white.yaml"},{startIndex:2,type:"string.yaml"}]},{line:": three",tokens:[{startIndex:0,type:"operators.yaml"},{startIndex:1,type:"white.yaml"},{startIndex:2,type:"string.yaml"}]}],[{line:"{key: value, number: 123}",tokens:[{startIndex:0,type:"delimiter.bracket.yaml"},{startIndex:1,type:"type.yaml"},{startIndex:4,type:"operators.yaml"},{startIndex:5,type:"white.yaml"},{startIndex:6,type:"string.yaml"},{startIndex:11,type:"delimiter.comma.yaml"},{startIndex:12,type:"white.yaml"},{startIndex:13,type:"type.yaml"},{startIndex:19,type:"operators.yaml"},{startIndex:20,type:"white.yaml"},{startIndex:21,type:"number.yaml"},{startIndex:24,type:"delimiter.bracket.yaml"}]}],[{line:"'this is a single quote string'",tokens:[{startIndex:0,type:"string.yaml"}]}],[{line:'"this is a double \\quote string\\n"',tokens:[{startIndex:0,type:"string.yaml"},{startIndex:18,type:"string.escape.invalid.yaml"},{startIndex:20,type:"string.yaml"},{startIndex:31,type:"string.escape.yaml"},{startIndex:33,type:"string.yaml"}]}],[{line:"[string,\"double\",'single',1,1.1,2002-04-28]",tokens:[{startIndex:0,type:"delimiter.square.yaml"},{startIndex:1,type:"string.yaml"},{startIndex:7,type:"delimiter.comma.yaml"},{startIndex:8,type:"string.yaml"},{startIndex:16,type:"delimiter.comma.yaml"},{startIndex:17,type:"string.yaml"},{startIndex:25,type:"delimiter.comma.yaml"},{startIndex:26,type:"number.yaml"},{startIndex:27,type:"delimiter.comma.yaml"},{startIndex:28,type:"number.float.yaml"},{startIndex:31,type:"delimiter.comma.yaml"},{startIndex:32,type:"number.date.yaml"},{startIndex:42,type:"delimiter.square.yaml"}]}],[{line:"text: Pretty vector drawing. #this is comment doesn't have proper syntax higlighting",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:4,type:"operators.yaml"},{startIndex:5,type:"white.yaml"},{startIndex:6,type:"string.yaml"},{startIndex:28,type:"white.yaml"},{startIndex:29,type:"comment.yaml"}]}],[{line:"number: 3 #this comment also doesn't have proper syntax highlighting",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:6,type:"operators.yaml"},{startIndex:7,type:"white.yaml"},{startIndex:8,type:"string.yaml"},{startIndex:9,type:"white.yaml"},{startIndex:10,type:"comment.yaml"}]}],[{line:'key: "va: lue"',tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:"key: 'va: lue'",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:"key: 'va#lue'",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:'key: "va#lue"',tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:"key: va#lue",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"}]}],[{line:"key: value #comment",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"},{startIndex:10,type:"white.yaml"},{startIndex:11,type:"comment.yaml"}]}],[{line:"key: value #comment: also comment",tokens:[{startIndex:0,type:"type.yaml"},{startIndex:3,type:"operators.yaml"},{startIndex:4,type:"white.yaml"},{startIndex:5,type:"string.yaml"},{startIndex:10,type:"white.yaml"},{startIndex:11,type:"comment.yaml"}]}]])}));