Skip to content

Commit f7b5a88

Browse files
authored
Merge pull request #6 from ywkim/parameter-typename
Add typeName to the Parameter Nodes
2 parents f4f30c2 + 9c6e42e commit f7b5a88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solidity_parser/parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def visitParameter(self, ctx: SolidityParser.ParameterContext):
226226

227227
return Node(ctx=ctx,
228228
type="Parameter",
229+
typeName=self.visit(ctx.typeName()),
229230
name=name,
230231
storageLocation=storageLocation,
231232
isStateVar=False,

0 commit comments

Comments
 (0)