示例#1
0
        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);
        }
示例#2
0
 public virtual string VisitVariableDecl(Variable variable)
 {
     return(VisitDeclaration(variable));
 }
示例#3
0
 public virtual bool VisitVariableDecl(Variable variable)
 {
     return(variable.Type.Visit(this, variable.QualifiedType.Qualifiers));
 }