MCPcopy Create free account
hub / github.com/dolthub/doltgresql / IsSpace

Method IsSpace

testing/generation/utils/token.go:47–49  ·  view source on GitHub ↗

IsSpace returns whether the token represents one of the space types.

()

Source from the content-addressed store, hash-verified

45
46// IsSpace returns whether the token represents one of the space types.
47func (t Token) IsSpace() bool {
48 return t.Type == TokenType_ShortSpace || t.Type == TokenType_MediumSpace || t.Type == TokenType_LongSpace
49}
50
51// IsStandardSpace returns whether the token represents a short or medium space, which will not end a statement.
52func (t Token) IsStandardSpace() bool {

Callers 4

ExtractMethod · 0.80
eatWhitespaceMethod · 0.80
StringMethod · 0.80
ProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected