示例#1
0
 public virtual AstNode VisitVarDecl(VarDecl ast)
 {
     return(ast);
 }
示例#2
0
 public CodeObject VisitVarDecl(Ast.VarDecl ast)
 {
     return(new CodeVariableDeclarationStatement(
                new CodeTypeReference(ast.Type.ResolvedType.Name),
                ast.VariableName.Value));
 }