@nomicfoundation/slang
Version:
A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. Written in Rust and distributed in multiple languages.
25 lines (21 loc) • 711 B
TypeScript
// This file is generated automatically by infrastructure scripts. Please don't edit by hand.
export namespace NomicFoundationSlangAst {
export { Selectors };
}
import type { Node } from "./nomic-foundation-slang-cst.js";
export { Node };
import type { NonterminalNode } from "./nomic-foundation-slang-cst.js";
export { NonterminalNode };
/**
* @internal
*/
export class Selectors {
/**
* This type does not have a public constructor.
*/
private constructor();
static sequence(node: NonterminalNode): Array<Node | undefined>;
static choice(node: NonterminalNode): Node;
static repeated(node: NonterminalNode): Array<Node>;
static separated(node: NonterminalNode): Array<Array<Node>>;
}