mirror of https://github.com/t1meshift/js.git
Implement EmptyStatement node generation
I don't even know what does the "procrastination" word mean. `EmptyStatement` is the most useful node ever.master
parent
5266ebed21
commit
ace635c999
jasminesnake/ast
|
@ -118,6 +118,8 @@ class StatementListener(JSBaseListener):
|
|||
def enterEmptyStatement(self, ctx: JavaScriptParser.EmptyStatementContext):
|
||||
"""Listener for EmptyStatement."""
|
||||
logging.debug("Entered section EmptyStatement")
|
||||
loc = _get_source_location(ctx, None)
|
||||
self._stmt = nodes.EmptyStatement(loc)
|
||||
pass
|
||||
|
||||
def enterExpressionStatement(
|
||||
|
|
Loading…
Reference in New Issue