solidity-antlr4
Version:
Solidity Lang Lexer and Parser by official ANTLR4 grammar
12 lines (11 loc) • 445 B
TypeScript
import { BaseNode } from '../base';
import { IfStatementContext, SolidityParserVisitor } from '../../antlr4';
import { Expression } from '../expression';
import { Statement } from './statement';
export declare class IfStatement extends BaseNode {
type: "IfStatement";
condition: Expression;
ifStatement: Statement;
elseStatement: Statement | null;
constructor(ctx: IfStatementContext, visitor: SolidityParserVisitor<any>);
}