• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
          • Parser
            • Parse-expressions
            • Parse-udps
            • Parse-statements
            • Parse-property
            • Vl-genelements
            • Parse-paramdecls
            • Parse-blockitems
            • Parse-utils
            • Parse-insts
            • Parse-functions
            • Parse-assignments
            • Parse-clocking
            • Parse-strengths
            • Vl-parse-genvar-declaration
            • Vl-parse
            • Parse-netdecls
            • Parse-asserts
              • Vl-parse-0+-assertion-variable-declarations
              • Vl-parse-property-formal-type-and-id
              • Vl-parse-assertion-item
              • Vl-parse-sequence-declaration
              • Vl-parse-property-declaration
              • Vl-parse-sequence-port-item
              • Vl-parse-property-port-item
              • Vl-parse-1+-sequence-port-items
              • Vl-parse-1+-property-port-items
              • Vl-make-assertion-vardecls
              • Vl-plausible-start-of-assertion-item-p
                • Vl-parse-assertion-item-looks-concurrent-p
              • Vl-maybe-parse-lifetime
              • Parse-dpi-import-export
              • Parse-ports
              • Parse-timeunits
              • Seq
              • Parse-packages
              • Parse-eventctrl
            • Vl-load-merge-descriptions
            • Vl-find-basename/extension
            • Vl-load-file
            • Vl-loadresult
            • Scope-of-defines
            • Vl-find-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-read-file
            • Vl-includeskips-report-gather
            • Vl-load-main
            • Extended-characters
            • Vl-load
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-preprocess-debug
            • Vl-write-preprocessor-debug-file
            • Vl-read-file-report-gather
            • Vl-load-descriptions
            • Vl-load-files
            • Translate-off
            • Vl-load-read-file-hook
            • Vl-read-file-report
            • Vl-loadstate-pad
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Parse-asserts

    Vl-plausible-start-of-assertion-item-p

    Signature
    (vl-plausible-start-of-assertion-item-p &key (tokstream 'tokstream)) 
      → 
    *

    Definitions and Theorems

    Function: vl-plausible-start-of-assertion-item-p-fn

    (defun vl-plausible-start-of-assertion-item-p-fn (tokstream)
     (declare (xargs :stobjs (tokstream)))
     (declare (xargs :guard t))
     (let ((__function__ 'vl-plausible-start-of-assertion-item-p))
      (declare (ignorable __function__))
      (let ((assertion-keywords
                 '(:vl-kwd-assume :vl-kwd-assert
                                  :vl-kwd-cover :vl-kwd-restrict)))
       (if
        (vl-is-token? :vl-idtoken)
        (and
         (vl-lookahead-is-token? :vl-colon (cdr (vl-tokstream->tokens)))
         (vl-lookahead-is-some-token? assertion-keywords
                                      (cddr (vl-tokstream->tokens))))
        (vl-is-some-token? assertion-keywords)))))