import { Json , Span } from "../../extension.bundle" ; const fakeSpan = new Span ( 1 , 2 ) ; export function createStringProperty ( name , unquotedValue ) { const prop = new Json . Property ( fakeSpan , new Json . StringValue ( fakeSpan , name ) , new Json . StringValue ( fakeSpan , `'${ unquotedValue }'` ) ) ; return prop ; } export function createProperty ( name , value ) { const prop = new Json . Property ( fakeSpan , new Json . StringValue ( fakeSpan , name ) , value ) ; return prop ; } export function createObject ( ... properties ) { return new Json . ObjectValue ( fakeSpan , properties ) ; } export function createArray ( ... values ) { return new Json . ArrayValue ( fakeSpan , values ) ; } export function createString ( value ) { return new Json . StringValue ( fakeSpan , value ) ; }