UNPKG

solidity-antlr4

Version:

Solidity Lang Lexer and Parser by official ANTLR4 grammar

92 lines (91 loc) 6.79 kB
import { VariableDeclarationListContext, SolidityParserVisitor } from '../../antlr4'; import { VariableDeclaration } from './variable-declaration'; export type VariableDeclarationList = VariableDeclaration[]; export declare const VariableDeclarationList: { new (ctx: VariableDeclarationListContext, visitor: SolidityParserVisitor<any>): { [n: number]: VariableDeclaration; type: "VariableDeclarationList"; length: number; toString(): string; toLocaleString(): string; pop(): VariableDeclaration | undefined; push(...items: VariableDeclaration[]): number; concat(...items: ConcatArray<VariableDeclaration>[]): VariableDeclaration[]; concat(...items: (VariableDeclaration | ConcatArray<VariableDeclaration>)[]): VariableDeclaration[]; join(separator?: string | undefined): string; reverse(): VariableDeclaration[]; shift(): VariableDeclaration | undefined; slice(start?: number | undefined, end?: number | undefined): VariableDeclaration[]; sort(compareFn?: ((a: VariableDeclaration, b: VariableDeclaration) => number) | undefined): any; splice(start: number, deleteCount?: number | undefined): VariableDeclaration[]; splice(start: number, deleteCount: number, ...items: VariableDeclaration[]): VariableDeclaration[]; unshift(...items: VariableDeclaration[]): number; indexOf(searchElement: VariableDeclaration, fromIndex?: number | undefined): number; lastIndexOf(searchElement: VariableDeclaration, fromIndex?: number | undefined): number; every<S extends VariableDeclaration>(predicate: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => value is S, thisArg?: any): this is S[]; every(predicate: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => unknown, thisArg?: any): boolean; some(predicate: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => void, thisArg?: any): void; map<U>(callbackfn: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => U, thisArg?: any): U[]; filter<S_1 extends VariableDeclaration>(predicate: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => value is S_1, thisArg?: any): S_1[]; filter(predicate: (value: VariableDeclaration, index: number, array: VariableDeclaration[]) => unknown, thisArg?: any): VariableDeclaration[]; reduce(callbackfn: (previousValue: VariableDeclaration, currentValue: VariableDeclaration, currentIndex: number, array: VariableDeclaration[]) => VariableDeclaration): VariableDeclaration; reduce(callbackfn: (previousValue: VariableDeclaration, currentValue: VariableDeclaration, currentIndex: number, array: VariableDeclaration[]) => VariableDeclaration, initialValue: VariableDeclaration): VariableDeclaration; reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: VariableDeclaration, currentIndex: number, array: VariableDeclaration[]) => U_1, initialValue: U_1): U_1; reduceRight(callbackfn: (previousValue: VariableDeclaration, currentValue: VariableDeclaration, currentIndex: number, array: VariableDeclaration[]) => VariableDeclaration): VariableDeclaration; reduceRight(callbackfn: (previousValue: VariableDeclaration, currentValue: VariableDeclaration, currentIndex: number, array: VariableDeclaration[]) => VariableDeclaration, initialValue: VariableDeclaration): VariableDeclaration; reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: VariableDeclaration, currentIndex: number, array: VariableDeclaration[]) => U_2, initialValue: U_2): U_2; find<S_2 extends VariableDeclaration>(predicate: (value: VariableDeclaration, index: number, obj: VariableDeclaration[]) => value is S_2, thisArg?: any): S_2 | undefined; find(predicate: (value: VariableDeclaration, index: number, obj: VariableDeclaration[]) => unknown, thisArg?: any): VariableDeclaration | undefined; findIndex(predicate: (value: VariableDeclaration, index: number, obj: VariableDeclaration[]) => unknown, thisArg?: any): number; fill(value: VariableDeclaration, start?: number | undefined, end?: number | undefined): any; copyWithin(target: number, start?: number | undefined, end?: number | undefined): any; entries(): IterableIterator<[number, VariableDeclaration]>; keys(): IterableIterator<number>; values(): IterableIterator<VariableDeclaration>; includes(searchElement: VariableDeclaration, fromIndex?: number | undefined): boolean; [Symbol.iterator](): IterableIterator<VariableDeclaration>; readonly [Symbol.unscopables]: { [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }; }; isArray(arg: any): arg is any[]; from<T>(arrayLike: ArrayLike<T>): T[]; from<T_1, U_3>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U_3, thisArg?: any): U_3[]; from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[]; from<T_3, U_4>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_4, thisArg?: any): U_4[]; of<T_4>(...items: T_4[]): T_4[]; readonly [Symbol.species]: ArrayConstructor; };