# Functions
IsRegisterShift reports whether the token is one of the ARM register shift operators.
Make returns a Token with the given rune (ScanToken) and text representation.
NewInput returns an Input from the given path.
NewLexer returns a lexer for the named file and the given link context.
No description provided by the author
No description provided by the author
Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
# Structs
Input is the main input: a stack of readers and some macro definitions.
A Macro represents the definition of a #defined macro.
A Slice reads from a slice of Tokens.
A Stack is a stack of TokenReaders.
A Token is a scan token plus its string value.
A Tokenizer is a simple wrapping of text/scanner.Scanner, configured for our purposes and made a TokenReader.
# Interfaces
A TokenReader is like a reader, but returns lex tokens of type Token.
# Type aliases
A ScanToken represents an input item.