Exemple #1
0
        public override Statement Interprete(string src, int line)
        {
            var returns = new DelStmt();
            returns.Line = line;
            var regexp = new Regex(Parser.Grammar.GetPattern("delvar").ToString());

            returns.Name = regexp.Match(src).Groups["Name"].Value;

            return returns;
        }
Exemple #2
0
        public override Statement Interprete(string src, int line)
        {
            var returns = new DelStmt();

            returns.Line = line;
            var regexp = new Regex(Parser.Grammar.GetPattern("delvar").ToString());

            returns.Name = regexp.Match(src).Groups["Name"].Value;

            return(returns);
        }
Exemple #3
0
 public virtual void Visit(DelStmt dec)
 {
 }