18 lines
417 B
TypeScript
18 lines
417 B
TypeScript
import { IFunctionCode } from '@/application/Parser/Script/Compiler/Function/ISharedFunction';
|
|
|
|
export class FunctionCodeStub implements IFunctionCode {
|
|
public do = 'do code (function-code-stub)';
|
|
|
|
public revert? = 'revert code (function-code-stub)';
|
|
|
|
public withDo(code: string) {
|
|
this.do = code;
|
|
return this;
|
|
}
|
|
|
|
public withRevert(revert: string) {
|
|
this.revert = revert;
|
|
return this;
|
|
}
|
|
}
|