flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
139
VISUALIZACION/node_modules/polished/lib/math/presets/defaultSymbols.d.ts
generated
vendored
Executable file
139
VISUALIZACION/node_modules/polished/lib/math/presets/defaultSymbols.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,139 @@
|
|||
declare function multiplication(a: number, b: number): number;
|
||||
declare function division(a: number, b: number): number;
|
||||
declare function addition(a: number, b: number): number;
|
||||
declare function last(...a: Array<number>): number;
|
||||
declare function subtraction(a: number, b: number): number;
|
||||
declare function negation(a: number): number;
|
||||
declare function comma(...a: Array<number | string>): Array<number | string>;
|
||||
declare function min(...a: Array<number>): number;
|
||||
declare function max(...a: Array<number>): number;
|
||||
declare const defaultSymbols: {
|
||||
symbols: {
|
||||
'*': {
|
||||
infix: {
|
||||
symbol: '*';
|
||||
f: multiplication;
|
||||
notation: 'infix';
|
||||
precedence: 4;
|
||||
rightToLeft: 0;
|
||||
argCount: 2;
|
||||
};
|
||||
symbol: '*';
|
||||
regSymbol: '\\*';
|
||||
};
|
||||
'/': {
|
||||
infix: {
|
||||
symbol: '/';
|
||||
f: division;
|
||||
notation: 'infix';
|
||||
precedence: 4;
|
||||
rightToLeft: 0;
|
||||
argCount: 2;
|
||||
};
|
||||
symbol: '/';
|
||||
regSymbol: '/';
|
||||
};
|
||||
'+': {
|
||||
infix: {
|
||||
symbol: '+';
|
||||
f: addition;
|
||||
notation: 'infix';
|
||||
precedence: 2;
|
||||
rightToLeft: 0;
|
||||
argCount: 2;
|
||||
};
|
||||
prefix: {
|
||||
symbol: '+';
|
||||
f: last;
|
||||
notation: 'prefix';
|
||||
precedence: 3;
|
||||
rightToLeft: 0;
|
||||
argCount: 1;
|
||||
};
|
||||
symbol: '+';
|
||||
regSymbol: '\\+';
|
||||
};
|
||||
'-': {
|
||||
infix: {
|
||||
symbol: '-';
|
||||
f: subtraction;
|
||||
notation: 'infix';
|
||||
precedence: 2;
|
||||
rightToLeft: 0;
|
||||
argCount: 2;
|
||||
};
|
||||
prefix: {
|
||||
symbol: '-';
|
||||
f: negation;
|
||||
notation: 'prefix';
|
||||
precedence: 3;
|
||||
rightToLeft: 0;
|
||||
argCount: 1;
|
||||
};
|
||||
symbol: '-';
|
||||
regSymbol: '-';
|
||||
};
|
||||
',': {
|
||||
infix: {
|
||||
symbol: ',';
|
||||
f: comma;
|
||||
notation: 'infix';
|
||||
precedence: 1;
|
||||
rightToLeft: 0;
|
||||
argCount: 2;
|
||||
};
|
||||
symbol: ',';
|
||||
regSymbol: ',';
|
||||
};
|
||||
'(': {
|
||||
prefix: {
|
||||
symbol: '(';
|
||||
f: last;
|
||||
notation: 'prefix';
|
||||
precedence: 0;
|
||||
rightToLeft: 0;
|
||||
argCount: 1;
|
||||
};
|
||||
symbol: '(';
|
||||
regSymbol: '\\(';
|
||||
};
|
||||
')': {
|
||||
postfix: {
|
||||
symbol: ')';
|
||||
f: undefined;
|
||||
notation: 'postfix';
|
||||
precedence: 0;
|
||||
rightToLeft: 0;
|
||||
argCount: 1;
|
||||
};
|
||||
symbol: ')';
|
||||
regSymbol: '\\)';
|
||||
};
|
||||
min: {
|
||||
func: {
|
||||
symbol: 'min';
|
||||
f: min;
|
||||
notation: 'func';
|
||||
precedence: 0;
|
||||
rightToLeft: 0;
|
||||
argCount: 1;
|
||||
};
|
||||
symbol: 'min';
|
||||
regSymbol: 'min\\b';
|
||||
};
|
||||
max: {
|
||||
func: {
|
||||
symbol: 'max';
|
||||
f: max;
|
||||
notation: 'func';
|
||||
precedence: 0;
|
||||
rightToLeft: 0;
|
||||
argCount: 1;
|
||||
};
|
||||
symbol: 'max';
|
||||
regSymbol: 'max\\b';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
export default defaultSymbols;
|
||||
Loading…
Add table
Add a link
Reference in a new issue