#Region "Microsoft.VisualBasic::e172424164cc415f035295ce627774ef, LINQ\TestMain\Parser\Enums.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see .
' /********************************************************************************/
' Summaries:
' Enum TokenType
'
' [Operator], CloseBracket, CloseParens, Comma, Dot
' Identifier, NotAToken, OpenBracket, OpenParens, Primitive
' Quote
'
'
'
'
'
' Enum TokenPriority
'
' [And], [Mod], [Not], [Or], Equality
' MulDiv, None, PlusMinus, UnaryMinus
'
'
'
'
'
'
' /********************************************************************************/
#End Region
Namespace Parser
'''
''' Enumerates the types of tokens that can be classified by the tokenizer.
'''
Public Enum TokenType
'''
''' This is reserved for the NullToken.
'''
NotAToken
'''
''' An identifier can be either a class or property name. The tokenizer does
''' not have enough information to make that distinction.
'''
Identifier
'''
''' An operator like + or *.
'''
[Operator]
'''
''' A comma
'''
Comma
'''
''' A dot (".").
'''
Dot
'''
''' A primitive like a quoted string, boolean value, or number.
'''
Primitive
'''
''' Open parenthesis
'''
OpenParens
'''
''' Close parenthesis
'''
CloseParens
'''
''' Open bracket
'''
OpenBracket
'''
''' Close bracket
'''
CloseBracket
'''
''' Double quote token, only used internally by tokenizer.
'''
Quote
End Enum
'''
''' Indicates priority in order of operations.
'''
Public Enum TokenPriority
'''
''' Default
'''
None
'''
''' Bitwise or
'''
[Or]
'''
''' Bitwise and
'''
[And]
'''
''' Bitwise not
'''
[Not]
'''
''' Equality comparisons like >, <=, ==, etc.
'''
Equality
'''
''' Plus or minus
'''
PlusMinus
'''
''' Modulus
'''
[Mod]
'''
''' Multiply or divide
'''
MulDiv
'''
''' Unary minus
'''
UnaryMinus
End Enum
End Namespace