wesl
    Preparing search index...

    Class WeslStream

    Implements

    • Stream<WeslToken>
    Index

    Constructors

    Properties

    src: string

    Methods

    • Returns the next token, or null if the end of the stream has been reached. Always leaves checkpoint right after the token.

      Returns null | WeslToken<WeslTokenKind>

    • Call this after consuming an opening bracket. Skips until a closing bracket. This also consumes the closing bracket.

      Parameters

      • closingBracket: string

      Returns void