go-vimlparser: github.com/haya14busa/go-vimlparser/token Index | Files

package token

import "github.com/haya14busa/go-vimlparser/token"

Package token defines constants representing the lexical tokens of Vim script.

ref: "go/token"

Index

Package Files

token.go

type Token Uses

type Token int

Token is the set of lexical tokens of Vim script.

const (
    ILLEGAL Token = iota
    EOF
    EOL
    SPACE
    OROR
    ANDAND
    EQEQ
    EQEQCI
    EQEQCS
    NEQ
    NEQCI
    NEQCS
    GT
    GTCI
    GTCS
    GTEQ
    GTEQCI
    GTEQCS
    LT
    LTCI
    LTCS
    LTEQ
    LTEQCI
    LTEQCS
    MATCH
    MATCHCI
    MATCHCS
    NOMATCH
    NOMATCHCI
    NOMATCHCS
    IS
    ISCI
    ISCS
    ISNOT
    ISNOTCI
    ISNOTCS
    PLUS
    MINUS
    DOT
    STAR
    SLASH
    PERCENT
    NOT
    QUESTION
    COLON
    POPEN
    PCLOSE
    SQOPEN
    SQCLOSE
    COPEN
    CCLOSE
    COMMA
    NUMBER
    SQUOTE
    DQUOTE
    OPTION
    IDENTIFIER
    ENV
    REG
    EQ
    OR
    SEMICOLON
    BACKTICK
    DOTDOTDOT
    SHARP
    ARROW

    STRING // "abc", 'abc'
)

The list of tokens.

func (Token) String Uses

func (tok Token) String() string

String returns the string corresponding to the token tok.

Package token imports 1 packages (graph) and is imported by 3 packages. Updated 2016-09-16. Refresh now. Tools for package owners.