UNPKG

694 BJavaScriptView Raw
1import GrammarToRRDiagram from './grammartorrdiagram';
2import GrammarToBNF from './grammartobnf';
3import RRElement from '../ui/rrelement';
4
5export default class Expression {
6
7 /**
8 * @param {GrammarToRRDiagram} grammarToRRDiagram
9 * @return {RRElement}
10 */
11 toRRElement(grammarToRRDiagram) {
12 // Not reachable, we don't instanciate this class.
13 return new RRElement();
14 }
15
16 /**
17 * @param {GrammarToBNF} grammarToBNF
18 * @param {string[]} sb
19 * @param {boolean} isNested
20 */
21 toBNF(grammarToBNF, sb, isNested) {
22 }
23
24 /**
25 * @param {*} o
26 * @return {boolean}
27 */
28 equals(o) {
29 }
30
31}
\No newline at end of file