Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions examples/js/libs/chevrotain.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/js/loaders/VRMLLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2979,9 +2979,9 @@

}

const ChevrotainParser = chevrotain.Parser; // eslint-disable-line no-undef
const CstParser = chevrotain.CstParser; // eslint-disable-line no-undef

class VRMLParser extends ChevrotainParser {
class VRMLParser extends CstParser {

constructor( tokenVocabulary ) {

Expand Down
144 changes: 141 additions & 3 deletions examples/jsm/libs/chevrotain.module.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/jsm/loaders/VRMLLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
Vector2,
Vector3
} from '../../../build/three.module.js';
import { chevrotain } from '../libs/chevrotain.module.min.js';
import chevrotain from '../libs/chevrotain.module.min.js';


class VRMLLoader extends Loader {
Expand Down Expand Up @@ -3238,9 +3238,9 @@ class VRMLLexer {

}

const ChevrotainParser = chevrotain.Parser;// eslint-disable-line no-undef
const CstParser = chevrotain.CstParser;// eslint-disable-line no-undef

class VRMLParser extends ChevrotainParser {
class VRMLParser extends CstParser {

constructor( tokenVocabulary ) {

Expand Down
2 changes: 1 addition & 1 deletion utils/build/rollup.examples.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function unmodularize() {
code = code.replace( 'import { MMDParser } from \'../libs/mmdparser.module.js\';', '' );
code = code.replace( 'import { potpack } from \'../libs/potpack.module.js\';', '' );
code = code.replace( 'import { opentype } from \'../libs/opentype.module.min.js\';', '' );
code = code.replace( 'import { chevrotain } from \'../libs/chevrotain.module.min.js\';', '' );
code = code.replace( 'import chevrotain from \'../libs/chevrotain.module.min.js\';', '' );
code = code.replace( 'import { ZSTDDecoder } from \'../libs/zstddec.module.js\';', '' );

// remove newline at the start of file
Expand Down