github.com/cloudflare/circl@v1.5.0/abe/cpabe/tkn20/internal/dsl/tokens.go (about)

     1  package dsl
     2  
     3  const (
     4  	LeftParen  = "("
     5  	RightParen = ")"
     6  	Colon      = ":"
     7  	And        = "and"
     8  	Or         = "or"
     9  	Not        = "not"
    10  	Identifier = "identifier"
    11  	EOF        = "eof"
    12  )
    13  
    14  type Token struct {
    15  	Type   string
    16  	Lexeme string
    17  	Line   int
    18  }