joymap
Version:
A Gamepad API wrapper and mapping tool.
11 lines (10 loc) • 331 B
TypeScript
export declare const operatorPrecedence: {
'||': number;
'&&': number;
};
export declare const operators: string[];
export declare const nonInputs: string[];
/**
* Takes an array of infix tokens and transforms it to postfix (removing parens)
*/
export default function shuntingYard(tokens: string[]): string[];