Adding code to render loop and skip paths for repetitions
This currently breaks the rendering and will need more work. Also need
to add labels for {a,b} syntax
This commit is contained in:
@@ -7,6 +7,11 @@ import MatchFragment from './javascript/match_fragment.js';
|
||||
import Subexp from './javascript/subexp.js';
|
||||
import Charset from './javascript/charset.js';
|
||||
import Terminal from './javascript/terminal.js';
|
||||
import Repeat from './javascript/repeat.js';
|
||||
import RepeatAny from './javascript/repeat_any.js';
|
||||
import RepeatOptional from './javascript/repeat_optional.js';
|
||||
import RepeatRequired from './javascript/repeat_required.js';
|
||||
import RepeatSpec from './javascript/repeat_spec.js';
|
||||
|
||||
parser.Parser.Root = Root;
|
||||
parser.Parser.Regexp = Regexp;
|
||||
@@ -15,5 +20,10 @@ parser.Parser.MatchFragment = MatchFragment;
|
||||
parser.Parser.Subexp = Subexp;
|
||||
parser.Parser.Charset = Charset;
|
||||
parser.Parser.Terminal = Terminal;
|
||||
parser.Parser.Repeat = Repeat;
|
||||
parser.Parser.RepeatAny = RepeatAny;
|
||||
parser.Parser.RepeatOptional = RepeatOptional;
|
||||
parser.Parser.RepeatRequired = RepeatRequired;
|
||||
parser.Parser.RepeatSpec = RepeatSpec;
|
||||
|
||||
export default parser;
|
||||
|
||||
Reference in New Issue
Block a user