Documentation ¶
Overview ¶
Copyright 2021 Lee R. Boynton
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func FormattedAnnotation(filename string, source string, prefix string, msg string, tok *Token, ...) string
- func IsDigit(ch rune) bool
- func IsLetter(ch rune) bool
- func IsLowercaseLetter(ch rune) bool
- func IsSymbolChar(ch rune, first bool) bool
- func IsUppercaseLetter(ch rune) bool
- func IsWhitespace(ch rune) bool
- type Scanner
- type Token
- type TokenType
Constants ¶
View Source
const BLACK = "\033[0;0m"
View Source
const BLUE = "\033[94m"
View Source
const GREEN = "\033[92m"
View Source
const RED = "\033[0;31m"
View Source
const YELLOW = "\033[0;33m"
Variables ¶
This section is empty.
Functions ¶
func FormattedAnnotation ¶
func IsLowercaseLetter ¶
func IsSymbolChar ¶
func IsUppercaseLetter ¶
func IsWhitespace ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.