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

Closed
3 of 4 tasks
DaniPopes opened this issue Aug 23, 2023 · 1 comment
Closed
3 of 4 tasks

[Feature] Add visitor functions for new types #236

DaniPopes opened this issue Aug 23, 2023 · 1 comment
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

@DaniPopes
Copy link
Member Author

Not that useful

@DaniPopes DaniPopes closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2025
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