Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add visitor functions for new types #236

Open
3 of 4 tasks
DaniPopes opened this issue Aug 23, 2023 · 0 comments
Open
3 of 4 tasks

[Feature] Add visitor functions for new types #236

DaniPopes opened this issue Aug 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DaniPopes
Copy link
Member

DaniPopes commented Aug 23, 2023

Component

syn-solidity

Describe the feature you would like

Add new visitor functions and implementations for the new types added in #199.

Our visitors follow the syn model: https://github.com/dtolnay/syn/blob/master/src/gen/visit.rs

Complete list of the new types added in #199:

  • expr

    • ArgList
    • ArgListImpl
    • BinOp
    • Expr
    • ExprArray
    • ExprBinary
    • ExprCall
    • ExprCallOptions
    • ExprDelete
    • ExprIndex
    • ExprMember
    • ExprNew
    • ExprPayable
    • ExprPostfix
    • ExprTernary
    • ExprTuple
    • ExprTypeCall
    • ExprUnary
    • NamedArg
    • NamedArgList
    • PostUnOp
    • UnOp
  • lit

    • HexStr
    • Lit
    • LitDenominated
    • LitHexStr
    • LitNumber
    • LitStr
    • LitUnicodeStr
    • SubDenomination
    • UnicodeStr
  • stmt

    • AssemblyFlags
    • Block
    • CatchClause
    • ForInitStmt
    • Stmt
    • StmtAssembly
    • StmtBreak
    • StmtContinue
    • StmtDoWhile
    • StmtEmit
    • StmtExpr
    • StmtFor
    • StmtIf
    • StmtReturn
    • StmtRevert
    • StmtTry
    • StmtVarDecl
    • StmtWhile
    • UncheckedBlock
    • VarDeclDecl
    • VarDeclTuple

#268:

  • yul
    • WalrusToken
    • YulBlock
    • YulCaseBranch
    • YulEVMBuiltIn
    • YulExpr
    • YulFnCall
    • YulFor
    • YulFunctionDef
    • YulIdent
    • YulIf
    • YulPath
    • YulReturns
    • YulStmt
    • YulSwitch
    • YulSwitchDefault
    • YulVarAssign
    • YulVarDecl

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant