コード例 #1
0
 public override void EnterPropertyLetStmt(VBAParser.PropertyLetStmtContext context)
 {
     _currentScopeAttributes  = new Attributes();
     _currentScope            = Tuple.Create(Identifier.GetName(context.subroutineName()), DeclarationType.PropertyLet);
     _currentAnnotatedContext = context;
 }
コード例 #2
0
 public override void EnterFunctionStmt(VBAParser.FunctionStmtContext context)
 {
     _currentScopeAttributes  = new Attributes();
     _currentScope            = Tuple.Create(Identifier.GetName(context.functionName()), DeclarationType.Function);
     _currentAnnotatedContext = context;
 }