• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Lexer
          • Vl-loadstate
          • Parser
            • Parse-expressions
            • Parse-udps
            • Vl-genelements
            • Parse-paramdecls
            • Parse-blockitems
            • Parse-utils
              • Defparser
              • Vl-endinfo-p
              • Vl-match-token
              • Vl-match-some-token
              • Vl-match-any-except
              • Vl-type-of-matched-token
              • Vl-maybe-match-token
              • Vl-tokstream-backup-p
                • Vl-tokstream-backup
                • Make-vl-tokstream-backup
                • Change-vl-tokstream-backup
                  • Make-honsed-vl-tokstream-backup
                  • Honsed-vl-tokstream-backup
                  • Vl-tokstream-backup->tokens
                  • Vl-tokstream-backup->pstate
                • Vl-parse-error
                • Vl-match
                • Vl-parse-warning
                • Vl-match-any
                • Vl-current-loc
                • Vl-parse-endblock-name
                • Vl-tokenlist-fix
                • Vl-lookahead-is-some-token?
                • Vl-is-some-token?
                • Vl-is-token?
                • Vl-tokstream-save
                • Vl-tokstream-restore
                • Vl-tokstream-fix
                • Vl-lookahead-is-token?
                • Vl-tokstream->tokens
                • Vl-tokstream-add-warning
                • Vl-tokstream->pstate
                • Expand-defparsers
                • *vl-default-token*
              • Parse-insts
              • Parse-datatype
              • Parse-functions
              • Parse-datatypes
              • Parse-strengths
              • Vl-parse-genvar-declaration
              • Vl-parse
              • Parse-ports
              • Seq
              • Parse-packages
            • Vl-load-merge-descriptions
            • Scope-of-defines
            • Vl-load-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-loadresult
            • Vl-read-file
            • Vl-find-basename/extension
            • Vl-find-file
            • Vl-read-files
            • Extended-characters
            • Vl-load
            • Vl-load-main
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-load-descriptions
            • Vl-load-files
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-descriptionlist
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-tokstream-backup-p

    Change-vl-tokstream-backup

    A copying macro that lets you create new vl-tokstream-backup-p structures, based on existing structures.

    Syntax:

    (change-vl-tokstream-backup x 
                                [:tokens <tokens>] 
                                [:pstate <pstate>]) 
    

    This is a sometimes useful alternative to make-vl-tokstream-backup. It constructs a new vl-tokstream-backup-p structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by defaggregate.

    Macro: change-vl-tokstream-backup

    (defmacro change-vl-tokstream-backup (x &rest args)
      (std::change-aggregate 'vl-tokstream-backup
                             x args
                             '((:tokens . vl-tokstream-backup->tokens)
                               (:pstate . vl-tokstream-backup->pstate))
                             'change-vl-tokstream-backup
                             'remake-vl-tokstream-backup))