public override Statement Interprete(string src, int line) { var returns = new ImportStmt(); returns.Line = line; var regexp = new Regex(Parser.Grammar.GetPattern("import").ToString()); Match match = regexp.Match(src); if (match.Success) { returns.Name = match.Groups["NameSpace"].Value; } return returns; }
public virtual void Visit(ImportStmt dec) { }