googleapi

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Token

type Token struct {
	Type  TokenType
	Value string
}

Token represents a lexical token.

func RunPathPatternLexer

func RunPathPatternLexer(input string) ([]Token, error)

RunPathPatternLexer takes an input string and returns a stream of tokens.

type TokenType

type TokenType string

TokenType represents the possible token types.

const (
	TokenSlash    TokenType = "SLASH"
	TokenColon    TokenType = "COLON"
	TokenLiteral  TokenType = "LITERAL"
	TokenVariable TokenType = "VARIABLE"
	TokenIdent    TokenType = "IDENT"
	TokenEOF      TokenType = "EOF"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL