Beispiel #1
0
        protected override void MatchVariableStmt(VariableStmt stmt)
        {
            Declare(stmt.Name);

            if (stmt.Initializer != null)
            {
                Resolve(stmt.Initializer);
            }

            Define(stmt.Name);
        }
Beispiel #2
0
 protected abstract void MatchVariableStmt(VariableStmt variableStmt);