hyperformula-dc
Version:
HyperFormula is a JavaScript engine for efficient processing of spreadsheet-like data and formulas
39 lines (38 loc) • 1.34 kB
TypeScript
/**
* @license
* Copyright (c) 2021 Handsoncode. All rights reserved.
*/
import { ProcedureAst } from '../../parser';
import { InterpreterState } from '../InterpreterState';
import { InterpreterValue } from '../InterpreterValue';
import { ArgumentTypes, FunctionPlugin, FunctionPluginTypecheck } from './FunctionPlugin';
export declare class BitShiftPlugin extends FunctionPlugin implements FunctionPluginTypecheck<BitShiftPlugin> {
static implementedFunctions: {
BITLSHIFT: {
method: string;
parameters: ({
argumentType: ArgumentTypes;
minValue: number;
maxValue?: undefined;
} | {
argumentType: ArgumentTypes;
minValue: number;
maxValue: number;
})[];
};
BITRSHIFT: {
method: string;
parameters: ({
argumentType: ArgumentTypes;
minValue: number;
maxValue?: undefined;
} | {
argumentType: ArgumentTypes;
minValue: number;
maxValue: number;
})[];
};
};
bitlshift(ast: ProcedureAst, state: InterpreterState): InterpreterValue;
bitrshift(ast: ProcedureAst, state: InterpreterState): InterpreterValue;
}