public override AstNode Visit(FileNode node) { VisitList(node.GetChildren()); return node; }
private void PrepareFile(AstNode content, string fileName) { // Use an special position. TokenPosition pos = new TokenPosition(fileName, -1, -1); // Create the file node. FileNode file = new FileNode(content, pos); // Add the file into the module node. moduleNode.AddFirst(file); }
public virtual AstNode Visit(FileNode node) { throw new System.NotImplementedException(); }