import { ASTNode } from "../../ast_node"; import { ModifierInvocationKind } from "../../constants"; import { ContractDefinition } from "../declaration/contract_definition"; import { ModifierDefinition } from "../declaration/modifier_definition"; import { Expression } from "../expression/expression"; import { Identifier } from "../expression/identifier"; import { IdentifierPath } from "./identifier_path"; export declare class ModifierInvocation extends ASTNode { /** * Kind of invoked target modifier: * - base contract constrcutor (when appled via modifier syntax); * - regular modifier definition. * * Is `undefined` when not provided in raw AST. */ kind?: ModifierInvocationKind; /** * An identifier of the referenced modifier declaration */ vModifierName: Identifier | IdentifierPath; /** * An array of arguments, that are passed for the modifier call */ vArguments: Expression[]; constructor(id: number, src: string, modifierName: Identifier | IdentifierPath, args: Expression[], kind?: ModifierInvocationKind, raw?: any); get children(): readonly ASTNode[]; /** * Reference to the `ModifierDefinition` or `ContractDefinition`. * * There is a possibility that constructor of the current contract * invokes a constructor of the super contract. * The `ContractDefinition` of a super contract is the value in such case. */ get vModifier(): ModifierDefinition | ContractDefinition; } //# sourceMappingURL=modifier_invocation.d.ts.map