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