zenstack
Version:
FullStack enhancement for Prisma ORM: seamless integration from database to UI
10 lines (9 loc) • 345 B
TypeScript
import { FunctionDecl } from '@zenstackhq/language/ast';
import { ValidationAcceptor } from 'langium';
import { AstValidator } from '../types';
/**
* Validates function declarations.
*/
export default class FunctionDeclValidator implements AstValidator<FunctionDecl> {
validate(funcDecl: FunctionDecl, accept: ValidationAcceptor): void;
}