1
# this list is used for autogeneration of:
4
# - ATGTokensSection.txt - the TOKENS section of the ATG file
6
# use BuildKeywords to generate the different lists.
8
$Namespace=ICSharpCode.NRefactory.VB.Parser
9
$UpperCaseKeywords=True
28
XmlCloseTagEmptyElement
33
XmlProcessingInstruction
45
# Exclamation mark = Dictionary access operator (not always a token, sometimes it's a type character)
57
CloseParenthesis = ")"
74
DivIntegerAssign = "\\="
75
ShiftLeftAssign = "<<="
76
ShiftRightAssign = ">>="
77
ConcatStringAssign = "&="
80
# keywords according to the spec:
172
# Note: IsTrue and IsFalse are 'NOT' keywords they're only valid in Operator declarations (like get/set/value are no C# 'keywords')
219
# has to be in the keyword list for the output formatter
266
#XML specific keywords
271
BlockSucc("Case", "Catch", "Else", "ElseIf", "End", "Finally", "Loop", "Next")
272
GlobalLevel("Namespace", "Module", "Class", "Structure", "Imports", "Option")
273
TypeLevel("Sub", "Function", "Property")
275
# List of keywords that are valid identifiers, must be the same as the "Identifier" production in VBNET.ATG
276
IdentifierTokens("Text", "Binary", "Compare", "Assembly", "Ansi", "Auto", "Preserve", "Unicode", "Until", "Off", "Out", "Key", "Explicit", "Infer", "From", "Join", "Equals", "Distinct", "Where", "Take", "Skip", "Order", "By", "Ascending", "Descending", "Group", "Into", "Aggregate")
277
ExpressionStart("Me", "MyBase", "MyClass", @BooleanExpressions, @OperatorsAtStart, "New", @Null, "AddressOf", "GetType", "TypeOf", "GetXmlNamespace", "Global", @TypeKW, @LambdaStart, @CastExpressions)
278
StatementStart(@Null, @ExpressionStart, "Dim", "Const", "Static", "For", "While", "Do", "Select")
279
SimpleTypeName(@TypeKW, @IdentifierTokens)
280
CastExpressions("DirectCast", "TryCast", "CType", "CBool", "CByte", "CChar", "CDate", "CDec", "CDbl", "CInt", "CLng", "CObj", "CSByte", "CShort", "CSng", "CStr", "CUInt", "CULng", "CUShort")
281
BooleanExpressions("True", "False")
282
LambdaStart("Sub", "Function")
283
OperatorsAtStart("Not", "From", "Aggregate")
284
TypeKW("Boolean", "Date", "Char", "String", "Decimal", "Byte", "Short", "Integer", "Long", "Single", "Double", "UInteger", "ULong", "UShort", "SByte")
b'\\ No newline at end of file'