feat(parser): make line count header optional #15
Annotations
3 errors
runner / Biome:
src/interface/components/Superescalar/modal/LoadModalComponent.tsx#L32
[Biome] reported by reviewdog 🐶
Raw Output:
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:32:- loadCode() {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:33:- try {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:34:- let code = new Code();
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:35:- code.load((document.getElementById('codeInput') as HTMLInputElement).value);
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:36:- this.setState({error: ''})
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:37:- SuperescalarIntegration.loadCode(code);
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:38:- this.close();
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:39:- } catch (error) {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:40:- // Check if error has the property position. Checking instance of TokenError not working
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:41:- if (error.pos) {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:42:- this.setState({error: '[' + error.pos?.rowBegin + ':' + error.pos?.columnBegin + ']: ' + error.errorMessage});
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:43:- } else {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:44:- this.setState({error: error.message});
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:45:- }
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:46:- }
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:47:- }
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:48:-
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:49:- render() {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:50:- return (
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:51:- <Modal className="smd-load_modal" show={this.props.isLoadModalOpen} onHide={this.close}>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:52:- <Modal.Header closeButton>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:53:- <Modal.Title>{this.props.t('loadModal.title')}</Modal.Title>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:54:- </Modal.Header>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:55:- <Modal.Body>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:56:- <textarea id='codeInput' defaultValue={` ADDI R2 R0 #50
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:61:+ render() {
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:62:+ return (
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:63:+ <Modal
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:64:+ className="smd-load_modal"
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:65:+ show={this.props.isLoadModalOpen}
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:66:+ onHide={this.close}
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:67:+ >
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:68:+ <Modal.Header closeButton>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:69:+ <Modal.Title>{this.props.t("loadModal.title")}</Modal.Title>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:70:+ </Modal.Header>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:71:+ <Modal.Body>
src/interface/components/Superescalar/modal/LoadModalComponent.tsx:72:+ <textarea
src/interface/components/Superescalar/modal/LoadModalComponent.ts
|
runner / Biome:
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx#L74
[Biome] reported by reviewdog 🐶
Raw Output:
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:74:- render() {
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:75:- return (<Modal size='xl' className="smd-load_modal" show={this.props.isLoadModalOpen} onHide={this.close}>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:76:- <Modal.Header closeButton>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:77:- <Modal.Title>{this.props.t('loadModal.title')}</Modal.Title>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:78:- </Modal.Header>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:79:- <Modal.Body>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:80:- <textarea id='superescalarCodeInput' defaultValue={` ADDI R2 R0 #50
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:91:+ render() {
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:92:+ return (
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:93:+ <Modal
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:94:+ size="xl"
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:95:+ className="smd-load_modal"
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:96:+ show={this.props.isLoadModalOpen}
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:97:+ onHide={this.close}
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:98:+ >
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:99:+ <Modal.Header closeButton>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:100:+ <Modal.Title>{this.props.t("loadModal.title")}</Modal.Title>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:101:+ </Modal.Header>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:102:+ <Modal.Body>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:103:+ <textarea
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:104:+ id="superescalarCodeInput"
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:105:+ defaultValue={` ADDI R2 R0 #50
|
runner / Biome:
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx#L91
[Biome] reported by reviewdog 🐶
Raw Output:
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:91:- BNE R2 R5 LOOP`}>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:92:- </textarea>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:93:- <div className="smd-load_modal-errors">
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:94:- {this.state.superescalarCodeError && <div className="smd-forms_error">{this.state.superescalarCodeError}</div>}
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:95:- </div>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:96:- <textarea id='vliwCodeInput' defaultValue={` 2 0 0 0 0 2 0 1 0
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:116:+ BNE R2 R5 LOOP`}
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:117:+ ></textarea>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:118:+ <div className="smd-load_modal-errors">
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:119:+ {this.state.superescalarCodeError && (
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:120:+ <div className="smd-forms_error">
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:121:+ {this.state.superescalarCodeError}
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:122:+ </div>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:123:+ )}
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:124:+ </div>
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:125:+ <textarea
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:126:+ id="vliwCodeInput"
src/interface/components/VLIW/modal/VLIWLoadModalComponent.tsx:127:+ defaultValue={` 2 0 0 0 0 2 0 1 0
|