18 lines
420 B
TypeScript
18 lines
420 B
TypeScript
import { ILanguageSyntax } from '@/domain/ScriptCode';
|
|
|
|
export class LanguageSyntaxStub implements ILanguageSyntax {
|
|
public commentDelimiters = [];
|
|
|
|
public commonCodeParts = [];
|
|
|
|
public withCommentDelimiters(...delimiters: string[]) {
|
|
this.commentDelimiters = delimiters;
|
|
return this;
|
|
}
|
|
|
|
public withCommonCodeParts(...codeParts: string[]) {
|
|
this.commonCodeParts = codeParts;
|
|
return this;
|
|
}
|
|
}
|