parseCST() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Parse the string syntax representation of a message into its corresponding CST representation.

Signature:

export declare function parseCST(source: string, opt?: {
    resource?: boolean;
}): CST.Message;

Parameters

Parameter Type Description
source string  
opt { resource?: boolean; } (Optional)

Returns:

CST.Message