• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • 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
            • Lex-strings
            • Lex-identifiers
            • Vl-typo-uppercase-p
            • Vl-typo-number-p
            • Vl-typo-lowercase-p
            • Lex-numbers
            • Chartypes
            • Vl-lex
            • Defchar
            • Tokens
            • Lex-keywords
            • Lexstate
              • Vl-lexstate-p
                • Vl-lexstate
                • Make-vl-lexstate
                  • Change-vl-lexstate
                  • Honsed-vl-lexstate
                  • Make-honsed-vl-lexstate
                  • Vl-lexstate->xorops
                  • Vl-lexstate->timelitsp
                  • Vl-lexstate->strextsp
                  • Vl-lexstate->starops
                  • Vl-lexstate->remops
                  • Vl-lexstate->quotesp
                  • Vl-lexstate->poundops
                  • Vl-lexstate->plusops
                  • Vl-lexstate->lessops
                  • Vl-lexstate->kwdtable
                  • Vl-lexstate->gtops
                  • Vl-lexstate->extintsp
                  • Vl-lexstate->eqops
                  • Vl-lexstate->dotops
                  • Vl-lexstate->dollarops
                  • Vl-lexstate->divops
                  • Vl-lexstate->dashops
                  • Vl-lexstate->colonops
                  • Vl-lexstate->barops
                  • Vl-lexstate->bangops
                  • Vl-lexstate->andops
                • Vl-plaintoken-alistp
                • *vl-2012-strict-lexstate*
                • Vl-lexstate->plainalist
                • Vl-lexstate-init
                • *vl-2005-strict-lexstate*
                • *vl-2012-lexstate*
                • *vl-2005-lexstate*
              • Make-test-tokens
              • Lexer-utils
              • Lex-comments
              • Vl-typo-uppercase-list-p
              • Vl-typo-lowercase-list-p
              • Vl-typo-number-list-p
            • Vl-loadstate
            • Parser
            • 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-lexstate-p

    Make-vl-lexstate

    Constructor macro for vl-lexstate-p structures.

    Syntax:

    (make-vl-lexstate [:kwdtable <kwdtable>] 
                      [:bangops <bangops>] 
                      [:poundops <poundops>] 
                      [:remops <remops>] 
                      [:andops <andops>] 
                      [:starops <starops>] 
                      [:plusops <plusops>] 
                      [:dashops <dashops>] 
                      [:dotops <dotops>] 
                      [:divops <divops>] 
                      [:colonops <colonops>] 
                      [:lessops <lessops>] 
                      [:gtops <gtops>] 
                      [:eqops <eqops>] 
                      [:xorops <xorops>] 
                      [:barops <barops>] 
                      [:dollarops <dollarops>] 
                      [:quotesp <quotesp>] 
                      [:strextsp <strextsp>] 
                      [:timelitsp <timelitsp>] 
                      [:extintsp <extintsp>]) 
    

    This is our preferred way to construct vl-lexstate-p structures. It simply conses together a structure with the specified fields.

    This macro generates a new vl-lexstate-p structure from scratch. See also change-vl-lexstate, which can "change" an existing structure, instead.

    The vl-lexstate-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see make-honsed-vl-lexstate instead.

    Definition

    This is an ordinary make- macro introduced by defaggregate.

    Macro: make-vl-lexstate

    (defmacro make-vl-lexstate (&rest args)
      (std::make-aggregate 'vl-lexstate
                           args
                           '((:kwdtable)
                             (:bangops)
                             (:poundops)
                             (:remops)
                             (:andops)
                             (:starops)
                             (:plusops)
                             (:dashops)
                             (:dotops)
                             (:divops)
                             (:colonops)
                             (:lessops)
                             (:gtops)
                             (:eqops)
                             (:xorops)
                             (:barops)
                             (:dollarops)
                             (:quotesp)
                             (:strextsp)
                             (:timelitsp)
                             (:extintsp))
                           'make-vl-lexstate
                           nil))