lexer

package
v0.0.0-...-cbd58c3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package lexer implements a participle Lexer for the CMakeLists.txt language. See https://cmake.org/cmake/help/v3.0/manual/cmake-language.7.html for more details.

Index

Constants

View Source
const (
	Space rune
	Newline
	EscapeSequence
	Quoted
	Quote
	BracketContent
	BracketComment
	VarOpen
	VarClose
	Identifier
	Unquoted
	Punct
	Comment
)

Constants defining the token types used by CMake

Variables

This section is empty.

Functions

func New

func New() lexer.Definition

New returns a new lexer.Definition suitable for lexing CMakeLists.txt

Types

This section is empty.

Directories

Path Synopsis
Package rules implements a flex-like rules for a table driven lexer.
Package rules implements a flex-like rules for a table driven lexer.

Jump to

Keyboard shortcuts

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