solidity-antlr4
Version:
Solidity Lang Lexer and Parser by official ANTLR4 grammar
12 lines (11 loc) • 573 B
TypeScript
import { UnaryPrefixOperationContext, SolidityParserVisitor, UnarySuffixOperationContext } from '../../antlr4';
import { BaseNode } from '../base';
import { Expression } from './expression';
export declare class UnaryOperation extends BaseNode {
type: "UnaryOperation";
operator: string | null;
left: Expression | null;
right: Expression | null;
constructor(ctx: UnaryPrefixOperationContext | UnarySuffixOperationContext, visitor: SolidityParserVisitor<any>);
}
export { UnaryOperation as UnaryPrefixOperation, UnaryOperation as UnarySuffixOperation };