ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import assert from 'assert';
import { createScanner, Node, parse, ParseError, ParseErrorCode, ParseOptions, parseTree, ScanError, SyntaxKind } from '../../common/json.js';
import { getParseErrorMessage } from '../../common/jsonErrorMessages.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from './utils.js';
function assertKinds(text: string, ...kinds: SyntaxKind[]): void {
const scanner = createScannertext
kind SyntaxKind
kind scanner SyntaxKind
assertkind kinds
assertkindslength
text expectedKind SyntaxKind scanError ScanError
scanner text
scanner
assertscanner expectedKind
assertscanner scanError
input expected options ParseOptions
errors ParseError
actual input errors options
errorslength
errorserror
assertactual expected
input expected options ParseOptions
errors ParseError
actual input errors options
errorslength
assertactual expected
input expected expectedErrors options ParseOptions
errors ParseError
actual input errors options
asserterrorse eerror expected expectedErrors
node Node
nodechildren
child nodechildren
assertnode childparent
childparent
child
actual
assertactual expected
SyntaxKindOpenBraceToken
SyntaxKindCloseBraceToken
SyntaxKindOpenBracketToken
SyntaxKindCloseBracketToken
SyntaxKindColonToken
SyntaxKindCommaToken
SyntaxKindLineCommentTrivia
SyntaxKindLineCommentTrivia SyntaxKindLineBreakTrivia
SyntaxKindBlockCommentTrivia
SyntaxKindBlockCommentTrivia
SyntaxKindBlockCommentTrivia
SyntaxKindBlockCommentTrivia
SyntaxKindBlockCommentTrivia
SyntaxKindUnknown SyntaxKindTrivia SyntaxKindUnknown
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral
SyntaxKindStringLiteral SyntaxKindLineBreakTrivia SyntaxKindStringLiteral
SyntaxKindStringLiteral ScanErrorInvalidCharacter
SyntaxKindStringLiteral ScanErrorInvalidCharacter
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral
SyntaxKindNumericLiteral SyntaxKindNumericLiteral
SyntaxKindNumericLiteral SyntaxKindNumericLiteral
SyntaxKindUnknown
SyntaxKindUnknown
SyntaxKindTrueKeyword
SyntaxKindFalseKeyword
SyntaxKindNullKeyword
SyntaxKindTrueKeyword
SyntaxKindTrivia
SyntaxKindFalseKeyword
SyntaxKindTrivia
SyntaxKindNullKeyword
SyntaxKindUnknown
SyntaxKindUnknown
SyntaxKindUnknown
SyntaxKindUnknown SyntaxKindTrivia SyntaxKindUnknown
SyntaxKindTrivia
SyntaxKindTrivia
SyntaxKindTrivia SyntaxKindLineBreakTrivia SyntaxKindTrivia
SyntaxKindLineBreakTrivia
SyntaxKindLineBreakTrivia
SyntaxKindLineBreakTrivia
SyntaxKindLineBreakTrivia SyntaxKindLineBreakTrivia
SyntaxKindLineBreakTrivia SyntaxKindTrivia SyntaxKindLineBreakTrivia
foo
bar xoo
hello world
a b c
lineComment blockComment brackets
hello world
hello again inside world
foo
a
foo allowTrailingComma
bar xoo
bar
bar
bar
foo
allowTrailingComma
allowTrailingComma
options disallowComments
options
hello world options
foo options
hello
options allowTrailingComma
hello options
hello options
hello world options
hello world options
hello options
options allowTrailingComma
hello options
hello world options
type offset length value
type offset length value
type offset length value
type offset length value
type offset length value
type offset length value
type offset length children
type offset length children type offset length value
type offset length children
type offset length value
type offset length value
type offset length children
type offset length children
type offset length children
type offset length children
type offset length colonOffset children
type offset length value
type offset length value
type offset length children
type offset length colonOffset children
type offset length value
type offset length value
type offset length colonOffset children
type offset length value
type offset length children
type offset length value
type offset length value
type offset length children
type offset length colonOffset children
type offset length value
type offset length children
type offset length colonOffset children
type offset length value
type offset length children
ParseErrorCodePropertyNameExpected ParseErrorCodeValueExpected allowTrailingComma