Changeset fec3e9a for src/Parser


Ignore:
Timestamp:
Mar 28, 2021, 10:58:45 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
8bea701
Parents:
1da7397
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypeData.h

    r1da7397 rfec3e9a  
    77// TypeData.h --
    88//
    9 // Author           : Rodolfo G. Esteves
     9// Author           : Peter A. Buhr
    1010// Created On       : Sat May 16 15:18:36 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Dec 13 23:42:35 2019
    13 // Update Count     : 199
     12// Last Modified On : Sat Mar 27 09:05:35 2021
     13// Update Count     : 200
    1414//
    1515
    1616#pragma once
    1717
    18 #include <iosfwd>                // for ostream
    19 #include <list>                  // for list
    20 #include <string>                // for string
     18#include <iosfwd>                                                                               // for ostream
     19#include <list>                                                                                 // for list
     20#include <string>                                                                               // for string
    2121
    22 #include "ParseNode.h"           // for DeclarationNode, DeclarationNode::Ag...
    23 #include "SynTree/LinkageSpec.h" // for Spec
    24 #include "SynTree/Type.h"        // for Type, ReferenceToType (ptr only)
    25 #include "SynTree/SynTree.h"     // for Visitor Nodes
     22#include "ParseNode.h"                                                                  // for DeclarationNode, DeclarationNode::Ag...
     23#include "SynTree/LinkageSpec.h"                                                // for Spec
     24#include "SynTree/Type.h"                                                               // for Type, ReferenceToType (ptr only)
     25#include "SynTree/SynTree.h"                                                    // for Visitor Nodes
    2626
    2727struct TypeData {
     
    3333                const std::string * name = nullptr;
    3434                DeclarationNode * params = nullptr;
    35                 ExpressionNode * actuals = nullptr;                                             // holds actual parameters later applied to AggInst
     35                ExpressionNode * actuals = nullptr;                             // holds actual parameters later applied to AggInst
    3636                DeclarationNode * fields = nullptr;
    3737                bool body;
     
    6262
    6363        struct Function_t {
    64                 mutable DeclarationNode * params = nullptr;                             // mutables modified in buildKRFunction
    65                 mutable DeclarationNode * idList = nullptr;                             // old-style
     64                mutable DeclarationNode * params = nullptr;             // mutables modified in buildKRFunction
     65                mutable DeclarationNode * idList = nullptr;             // old-style
    6666                mutable DeclarationNode * oldDeclList = nullptr;
    6767                StatementNode * body = nullptr;
    68                 ExpressionNode * withExprs = nullptr;                                           // expressions from function's with_clause
     68                ExpressionNode * withExprs = nullptr;                   // expressions from function's with_clause
    6969        };
    7070
Note: See TracChangeset for help on using the changeset viewer.