示例#1
0
        public override AstNode Visit(FileNode node)
        {
            VisitList(node.GetChildren());

            return node;
        }
示例#2
0
        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);
        }
示例#3
0
 public virtual AstNode Visit(FileNode node)
 {
     throw new System.NotImplementedException();
 }
示例#4
0
 public virtual AstNode Visit(FileNode node)
 {
     throw new System.NotImplementedException();
 }