parser

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDashndashdigitIdentToken

func IsDashndashdigitIdentToken(t token.Token) bool

IsDashndashdigitIdentToken returns true for a token that is a <dashndashdigit-ident>: an <ident-token> whose value is an ASCII case-insensitive match for "-n-*", where "*" is a series of one or more digits.

func IsIntegerToken

func IsIntegerToken(t token.Token) bool

IsIntegerToken returns true for a token that is an <integer>: a <number-token> with its type flag set to "integer".

func IsNDimensionToken

func IsNDimensionToken(t token.Token) bool

IsNDimensionToken returns true for a token that is a <n-dimension>: a <dimension-token> with its type flag set to "integer", and a unit that is an ASCII case-insensitive match for "n".

func IsNdashdigitDimensionToken

func IsNdashdigitDimensionToken(t token.Token) bool

IsNdashdigitDimensionToken returns true for a token that is a <ndashdigit-dimension>: a <dimension-token> with its type flag set to "integer", and a unit that is an ASCII case-insensitive match for "n-*", where "*" is a series of one or more digits.

func IsNdashdigitIdentToken

func IsNdashdigitIdentToken(t token.Token) bool

IsNdashdigitIdentToken returns true for a token that is a <ndashdigit-ident>: an <ident-token> whose value is an ASCII case-insensitive match for "n-*", where "*" is a series of one or more digits.

func IsSignedIntegerToken

func IsSignedIntegerToken(t token.Token) bool

IsSignedIntegerToken returns true for a token that is a <signed-integer>: a <number-token> with its type flag set to "integer", and whose representation starts with "+" or "-".

func IsSignlessIntegerToken

func IsSignlessIntegerToken(t token.Token) bool

IsSignlessIntegerToken returns true fora token that is a <signless-integer> is a <number-token> with its type flag set to "integer", and whose representation starts with a digit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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