Versions in this module Expand all Collapse all v0 v0.1.9 Oct 15, 2017 v0.1.8 Oct 14, 2017 v0.1.7 Oct 14, 2017 v0.1.6 Sep 18, 2017 v0.1.5 Jul 16, 2017 v0.1.4 Jun 29, 2017 v0.1.3 Apr 7, 2017 v0.1.1 Mar 29, 2017 v0.1.0 Mar 26, 2017 Changes in this version + const EOF + var ItemType = map[string]string + type Item interface + GetLine func() int + GetPos func() int + GetType func() string + GetValue func() string + String func() + func NewItemAnd(value string, pos pos, line int) Item + func NewItemAt(value string, pos pos, line int) Item + func NewItemBitNot(value string, pos pos, line int) Item + func NewItemCBracket(value string, pos pos, line int) Item + func NewItemCCurly(value string, pos pos, line int) Item + func NewItemCSqrt(value string, pos pos, line int) Item + func NewItemCaret(value string, pos pos, line int) Item + func NewItemColon(value string, pos pos, line int) Item + func NewItemComma(value string, pos pos, line int) Item + func NewItemComment(value string, pos pos, line int) Item + func NewItemDash(value string, pos pos, line int) Item + func NewItemDot(value string, pos pos, line int) Item + func NewItemDotDot(value string, pos pos, line int) Item + func NewItemEOF(value string, pos pos, line int) Item + func NewItemEqual(value string, pos pos, line int) Item + func NewItemEqualEqual(value string, pos pos, line int) Item + func NewItemGrater(value string, pos pos, line int) Item + func NewItemGraterEqual(value string, pos pos, line int) Item + func NewItemHash(value string, pos pos, line int) Item + func NewItemIdentifier(value string, pos pos, line int) Item + func NewItemIntNumber(value string, pos pos, line int) Item + func NewItemKWAll(value string, pos pos, line int) Item + func NewItemKWAnd(value string, pos pos, line int) Item + func NewItemKWAny(value string, pos pos, line int) Item + func NewItemKWAscii(value string, pos pos, line int) Item + func NewItemKWAt(value string, pos pos, line int) Item + func NewItemKWCondition(value string, pos pos, line int) Item + func NewItemKWContains(value string, pos pos, line int) Item + func NewItemKWEntrypoint(value string, pos pos, line int) Item + func NewItemKWFalse(value string, pos pos, line int) Item + func NewItemKWFilesize(value string, pos pos, line int) Item + func NewItemKWFor(value string, pos pos, line int) Item + func NewItemKWFullword(value string, pos pos, line int) Item + func NewItemKWGlobal(value string, pos pos, line int) Item + func NewItemKWImport(value string, pos pos, line int) Item + func NewItemKWIn(value string, pos pos, line int) Item + func NewItemKWInclude(value string, pos pos, line int) Item + func NewItemKWInt16(value string, pos pos, line int) Item + func NewItemKWInt16be(value string, pos pos, line int) Item + func NewItemKWInt32(value string, pos pos, line int) Item + func NewItemKWInt32be(value string, pos pos, line int) Item + func NewItemKWInt8(value string, pos pos, line int) Item + func NewItemKWInt8be(value string, pos pos, line int) Item + func NewItemKWMatches(value string, pos pos, line int) Item + func NewItemKWMeta(value string, pos pos, line int) Item + func NewItemKWNocase(value string, pos pos, line int) Item + func NewItemKWNot(value string, pos pos, line int) Item + func NewItemKWOf(value string, pos pos, line int) Item + func NewItemKWOr(value string, pos pos, line int) Item + func NewItemKWPrivate(value string, pos pos, line int) Item + func NewItemKWRule(value string, pos pos, line int) Item + func NewItemKWStrings(value string, pos pos, line int) Item + func NewItemKWThem(value string, pos pos, line int) Item + func NewItemKWTrue(value string, pos pos, line int) Item + func NewItemKWUint16(value string, pos pos, line int) Item + func NewItemKWUint16be(value string, pos pos, line int) Item + func NewItemKWUint32(value string, pos pos, line int) Item + func NewItemKWUint32be(value string, pos pos, line int) Item + func NewItemKWUint8(value string, pos pos, line int) Item + func NewItemKWUint8be(value string, pos pos, line int) Item + func NewItemKWWide(value string, pos pos, line int) Item + func NewItemLeftShift(value string, pos pos, line int) Item + func NewItemLess(value string, pos pos, line int) Item + func NewItemLessEqual(value string, pos pos, line int) Item + func NewItemNot(value string, pos pos, line int) Item + func NewItemNotEqual(value string, pos pos, line int) Item + func NewItemOBracket(value string, pos pos, line int) Item + func NewItemOCurly(value string, pos pos, line int) Item + func NewItemOSqrt(value string, pos pos, line int) Item + func NewItemPercent(value string, pos pos, line int) Item + func NewItemPipe(value string, pos pos, line int) Item + func NewItemPlus(value string, pos pos, line int) Item + func NewItemQMark(value string, pos pos, line int) Item + func NewItemRegex(value string, pos pos, line int) Item + func NewItemRightShift(value string, pos pos, line int) Item + func NewItemSlash(value string, pos pos, line int) Item + func NewItemSpace(value string, pos pos, line int) Item + func NewItemStar(value string, pos pos, line int) Item + func NewItemString(value string, pos pos, line int) Item + func NewItemVariable(value string, pos pos, line int) Item + type ItemAnd struct + type ItemAt struct + type ItemBitNot struct + type ItemCBracket struct + type ItemCCurly struct + type ItemCSqrt struct + type ItemCaret struct + type ItemColon struct + type ItemComma struct + type ItemComment struct + type ItemDash struct + type ItemDot struct + type ItemDotDot struct + type ItemEOF struct + type ItemEqual struct + type ItemEqualEqual struct + type ItemGrater struct + type ItemGraterEqual struct + type ItemHash struct + type ItemIdentifier struct + type ItemIntNumber struct + Value int + func (it ItemIntNumber) String() + type ItemKWAll struct + type ItemKWAnd struct + type ItemKWAny struct + type ItemKWAscii struct + type ItemKWAt struct + type ItemKWCondition struct + type ItemKWContains struct + type ItemKWEntrypoint struct + type ItemKWFalse struct + type ItemKWFilesize struct + type ItemKWFor struct + type ItemKWFullword struct + type ItemKWGlobal struct + type ItemKWImport struct + type ItemKWIn struct + type ItemKWInclude struct + type ItemKWInt16 struct + type ItemKWInt16be struct + type ItemKWInt32 struct + type ItemKWInt32be struct + type ItemKWInt8 struct + type ItemKWInt8be struct + type ItemKWMatches struct + type ItemKWMeta struct + type ItemKWNocase struct + type ItemKWNot struct + type ItemKWOf struct + type ItemKWOr struct + type ItemKWPrivate struct + type ItemKWRule struct + type ItemKWStrings struct + type ItemKWThem struct + type ItemKWTrue struct + type ItemKWUint16 struct + type ItemKWUint16be struct + type ItemKWUint32 struct + type ItemKWUint32be struct + type ItemKWUint8 struct + type ItemKWUint8be struct + type ItemKWWide struct + type ItemLeftShift struct + type ItemLess struct + type ItemLessEqual struct + type ItemNot struct + type ItemNotEqual struct + type ItemOBracket struct + type ItemOCurly struct + type ItemOSqrt struct + type ItemPercent struct + type ItemPipe struct + type ItemPlus struct + type ItemQMark struct + type ItemRegex struct + type ItemRightShift struct + type ItemSlash struct + type ItemSpace struct + type ItemStar struct + type ItemString struct + type ItemVariable struct + type ItemYaGo struct + Line int + Pos pos + Typ string + Value string + func (it ItemYaGo) GetLine() int + func (it ItemYaGo) GetPos() int + func (it ItemYaGo) GetType() string + func (it ItemYaGo) GetValue() string + func (it ItemYaGo) String() + type Lexer struct + Input string + Items chan Item + LastPos pos + Line int + Name string + Pos pos + Start pos + State stateFn + Width pos + func Lex(name, input string) *Lexer + func (l *Lexer) NextItem() Item