import { TranslatorState, TranslatorGenerator } from '@lcap/nasl-translator'; import { ElementToVueOptions } from './ViewElement__'; import { Range, GetCode } from './utils/quick-info'; import * as types from './utils/types'; import LogicItem from './LogicItem__'; /** * 二元表达式 */ export declare class BinaryExpression extends LogicItem { /** 类名 */ static readonly ConceptName: string; /** * 是否为抽象类 * 抽象类不能产生 concept: string */ static isAbstract: boolean; /** 继承链 */ static readonly inheritanceChain: string[]; /** * 产品概念 */ readonly concept: 'BinaryExpression'; /** * 左边项 */ left: types.LogicItemNode; /** * 右边项 */ right: types.LogicItemNode; /** * 运算符 */ operator: '+' | '-' | '*' | '/' | '%' | '==' | '!=' | '>' | '<' | '>=' | '<=' | '&&' | '||' | 'startwith' | 'endwith' | 'like' | 'in' | 'contains'; /** * @param source 需要合并的部分参数 */ constructor(source?: Partial); static from(source: any, parentNode?: any, parentKey?: string): BinaryExpression; /** * 设置左边项 */ setLeft(left: types.LogicItemNode): void; /** * 设置右边项 */ setRight(right: types.LogicItemNode): void; /** * 设置运算符 */ setOperator(operator: '+' | '-' | '*' | '/' | '%' | '==' | '!=' | '>' | '<' | '>=' | '<=' | '&&' | '||' | 'startwith' | 'endwith' | 'like' | 'in' | 'contains'): void; name?: string; get processType(): any; toVue(options?: ElementToVueOptions): string; toUI(state?: TranslatorState, hideDetails?: boolean): string; toJS(state?: TranslatorState): string; toBrief(): string; toEmbeddedTS(state?: import("@lcap/nasl-types/out/translator").TranslatorState): TranslatorGenerator; toNaturalTS(state?: import("@lcap/nasl-types/out/translator").TranslatorState): string; toNaturalSQL(state?: import("@lcap/nasl-types/out/translator").TranslatorState): string; toTextualNASL(state?: import("@lcap/nasl-types/out/translator").TranslatorState): string; getQuickInfoOffset(range: Range, getCode: GetCode): import("./utils/quick-info").QuickInfoData; } export default BinaryExpression; //# sourceMappingURL=BinaryExpression__.d.ts.map