Skip to content

Commit 35cb25d

Browse files
Yuyupoyichoi
authored andcommitted
Fix visibility for some functions
Change some public functions to private IoT.js-VSCode-DCO-1.0-Signed-off-by: Daniella Barsony [email protected]
1 parent f9685ed commit 35cb25d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/JerryProtocolHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export class JerryDebugProtocolHandler {
266266
return '';
267267
}
268268

269-
public decodeMessage(format: string, message: Uint8Array, offset: number): any {
269+
private decodeMessage(format: string, message: Uint8Array, offset: number): any {
270270
return decodeMessage(this.byteConfig, format, message, offset);
271271
}
272272

@@ -336,7 +336,7 @@ export class JerryDebugProtocolHandler {
336336
this.newFunctions = {};
337337
}
338338

339-
public onParseFunction(data: Uint8Array): void {
339+
private onParseFunction(data: Uint8Array): void {
340340
this.logPacket('Parse Function');
341341
const position = this.decodeMessage('II', data, 1);
342342
this.stack.push({
@@ -815,7 +815,7 @@ export class JerryDebugProtocolHandler {
815815
return this.sendSimpleRequest(encodeMessage(this.byteConfig, 'B', [code]));
816816
}
817817

818-
public onWaitForSource(): void {
818+
private onWaitForSource(): void {
819819
this.waitForSourceEnabled = true;
820820
if (this.delegate.onWaitForSource) {
821821
this.delegate.onWaitForSource();

0 commit comments

Comments
 (0)