Changeset 59c8dff for src/GenPoly


Ignore:
Timestamp:
Jan 19, 2024, 2:42:58 AM (11 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
f988834
Parents:
8b4faf6
Message:

Draft Implementation for enum position pesudo function (posE). EnumPosExpr? is mostly irrelevant for now. It is used in development/code probing and will be removed later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cpp

    r8b4faf6 r59c8dff  
    15801580        ast::Expr const * postvisit( ast::OffsetPackExpr const * expr );
    15811581
     1582        ast::Expr const * postvisit( ast::EnumPosExpr const * expr );
     1583
    15821584        void beginScope();
    15831585        void endScope();
     
    19501952
    19511953        return new ast::VariableExpr( expr->location, offsetArray );
     1954}
     1955
     1956// TODO
     1957ast::Expr const * PolyGenericCalculator::postvisit( ast::EnumPosExpr const * expr ) {
     1958        return expr;
    19521959}
    19531960
Note: See TracChangeset for help on using the changeset viewer.