1 | import { Lang } from "./lang";
|
2 | import * as ast from "./ast";
|
3 | import * as parsed from "./parsedsyntax";
|
4 | export declare function restrictType(lang: Lang, syn: ast.Type): ast.Type;
|
5 | export declare function restrictExpression(lang: Lang, syn: parsed.Expression): ast.Expression;
|
6 | export declare function restrictLValue(lang: Lang, syn: parsed.Expression): ast.LValue;
|
7 | export declare function restrictStatement(lang: Lang, syn: parsed.Statement): ast.Statement;
|
8 | export declare function restrictDeclaration(lang: Lang, decl: parsed.Declaration | string): string | ast.Declaration;
|