File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 11import {
2- BodyContext ,
32 CircomVisitor ,
43 ComponentMainDeclarationContext ,
54 ExpressionListContext ,
65 IncludeDefinitionContext ,
76 parseSimpleIdentifierList ,
8- PragmaCustomTemplatesContext ,
97 PragmaInvalidVersionContext ,
108 PragmaVersionContext ,
119 PublicInputsDefinitionContext ,
@@ -46,7 +44,7 @@ export class CircomFilesVisitor extends CircomVisitor<void> {
4644 } ) ;
4745 } ;
4846
49- visitPragmaCustomTemplates = ( _ctx : PragmaCustomTemplatesContext ) => {
47+ visitPragmaCustomTemplates = ( ) => {
5048 this . fileData . pragmaInfo . isCustom = true ;
5149 } ;
5250
@@ -77,7 +75,7 @@ export class CircomFilesVisitor extends CircomVisitor<void> {
7775 return ;
7876 } ;
7977
80- visitBody = ( _ctx : BodyContext ) => {
78+ visitBody = ( ) => {
8179 return ;
8280 } ;
8381
Original file line number Diff line number Diff line change 1- import { ParserRuleContext } from "antlr4" ;
2-
31import {
42 CircomValueType ,
53 CircomVisitor ,
6- ComponentDeclarationContext ,
74 ExpressionContext ,
85 ExpressionHelper ,
96 IdentifierContext ,
@@ -25,6 +22,7 @@ import {
2522 VarDeclarationContext ,
2623 VariableContext ,
2724 VarIdentifierContext ,
25+ ParserRuleContext ,
2826} from "../../src" ;
2927
3028import {
@@ -169,7 +167,7 @@ export class CircomTemplateInputsVisitor extends CircomVisitor<void> {
169167 /**
170168 * We skip this context to avoid visiting unrelated VarIdentifierContext
171169 */
172- visitComponentDeclaration = ( ctx : ComponentDeclarationContext ) => {
170+ visitComponentDeclaration = ( ) => {
173171 return ;
174172 } ;
175173
You can’t perform that action at this time.
0 commit comments