public override AST.Declaration VisitVariable(Variable decl) { var _variable = new AST.Variable(); VisitDeclaration(decl, _variable); _variable.Mangled = decl.Mangled; _variable.QualifiedType = typeConverter.VisitQualified( decl.QualifiedType); return(_variable); }
public virtual string VisitVariableDecl(Variable variable) { return(VisitDeclaration(variable)); }
public virtual bool VisitVariableDecl(Variable variable) { return(variable.Type.Visit(this, variable.QualifiedType.Qualifiers)); }