//Language: VB.NET (also good for VB)


// tokens
Token=tnone
Token=tvbident
Token=tvbinteger
Token=tvbfloat
Token=tvbstring
Token=tvbcomment
Token=tvbresword
Token=tvbobject
Token=tvbsymbol
//Token=tvbtag
Token=turl
Token=twhitespace


// states
State=svbnormal
State=svbstring
State=svbcomment1
State=svbcomment2


//delims
Delimiters=;.,:'"{}[]()<>?!@#$%^&*-+=|\/

//symbols
svbnormal  [()\[\]\{\}<>\.,=;&|!%/@\+\-\*]         svbnormal  tvbsymbol

// ASP ------------------------------------------------------------------------

// reswords
svbnormal 'AddHandler'    svbnormal tvbresword
svbnormal 'AddressOf'     svbnormal tvbresword
svbnormal 'Alias'         svbnormal tvbresword
svbnormal 'And'           svbnormal tvbresword
svbnormal 'AndAlso'       svbnormal tvbresword
svbnormal 'As'            svbnormal tvbresword
svbnormal 'Boolean'       svbnormal tvbresword
svbnormal 'ByRef'         svbnormal tvbresword
svbnormal 'Byte'          svbnormal tvbresword
svbnormal 'ByVal'         svbnormal tvbresword
svbnormal 'Call'          svbnormal tvbresword
svbnormal 'Case'          svbnormal tvbresword
svbnormal 'Catch'         svbnormal tvbresword
svbnormal 'CBool'         svbnormal tvbresword
svbnormal 'CByte'         svbnormal tvbresword
svbnormal 'CChar'         svbnormal tvbresword
svbnormal 'CDate'         svbnormal tvbresword
svbnormal 'CDbl'          svbnormal tvbresword
svbnormal 'CDec'          svbnormal tvbresword
svbnormal 'Char'          svbnormal tvbresword
svbnormal 'CInt'          svbnormal tvbresword
svbnormal 'Class'         svbnormal tvbresword
svbnormal 'CLng'          svbnormal tvbresword
svbnormal 'CObj'          svbnormal tvbresword
svbnormal 'Const'         svbnormal tvbresword
svbnormal 'Continue'      svbnormal tvbresword
svbnormal 'CSByte'        svbnormal tvbresword
svbnormal 'CShort'        svbnormal tvbresword
svbnormal 'CSng'          svbnormal tvbresword
svbnormal 'CStr'          svbnormal tvbresword
svbnormal 'CType'         svbnormal tvbresword
svbnormal 'CUInt'         svbnormal tvbresword
svbnormal 'CULng'         svbnormal tvbresword
svbnormal 'CUShort'       svbnormal tvbresword
svbnormal 'Date'          svbnormal tvbresword
svbnormal 'Decimal'       svbnormal tvbresword
svbnormal 'Declare'       svbnormal tvbresword
svbnormal 'Default'       svbnormal tvbresword
svbnormal 'Delegate'      svbnormal tvbresword
svbnormal 'Dim'           svbnormal tvbresword
svbnormal 'DirectCast'    svbnormal tvbresword
svbnormal 'Do'            svbnormal tvbresword
svbnormal 'Double'        svbnormal tvbresword
svbnormal 'Each'          svbnormal tvbresword
svbnormal 'Else'          svbnormal tvbresword
svbnormal 'ElseIf'        svbnormal tvbresword
svbnormal 'End'           svbnormal tvbresword
svbnormal 'EndIf'         svbnormal tvbresword
svbnormal 'Enum'          svbnormal tvbresword
svbnormal 'Erase'         svbnormal tvbresword
svbnormal 'Error'         svbnormal tvbresword
svbnormal 'Event'         svbnormal tvbresword
svbnormal 'Exit'          svbnormal tvbresword
svbnormal 'Finally'       svbnormal tvbresword
svbnormal 'For'           svbnormal tvbresword
svbnormal 'Friend'        svbnormal tvbresword
svbnormal 'Function'      svbnormal tvbresword
svbnormal 'Get'           svbnormal tvbresword
svbnormal 'GetType'       svbnormal tvbresword
svbnormal 'Global'        svbnormal tvbresword
svbnormal 'GoSub'       	 svbnormal tvbresword
svbnormal 'GoTo'          svbnormal tvbresword
svbnormal 'Handles'       svbnormal tvbresword
svbnormal 'If'            svbnormal tvbresword
svbnormal 'Implements'    svbnormal tvbresword
svbnormal 'Imports'       svbnormal tvbresword
svbnormal 'In'            svbnormal tvbresword
svbnormal 'Inherits'      svbnormal tvbresword
svbnormal 'Integer'       svbnormal tvbresword
svbnormal 'Interface'     svbnormal tvbresword
svbnormal 'Is'            svbnormal tvbresword
svbnormal 'IsNot'         svbnormal tvbresword
svbnormal 'Let'           svbnormal tvbresword
svbnormal 'Lib'           svbnormal tvbresword
svbnormal 'Like'          svbnormal tvbresword
svbnormal 'Long'          svbnormal tvbresword
svbnormal 'Loop'          svbnormal tvbresword
svbnormal 'Me'            svbnormal tvbresword
svbnormal 'Mod'           svbnormal tvbresword
svbnormal 'Module'        svbnormal tvbresword
svbnormal 'MustInherit'   svbnormal tvbresword
svbnormal 'MustOverride'  svbnormal tvbresword
svbnormal 'MyBase'        svbnormal tvbresword
svbnormal 'MyClass'       svbnormal tvbresword
svbnormal 'Namespace'     svbnormal tvbresword
svbnormal 'Narrowing'     svbnormal tvbresword
svbnormal 'New'           svbnormal tvbresword
svbnormal 'Next'          svbnormal tvbresword
svbnormal 'Not'           svbnormal tvbresword
svbnormal 'Nothing'       svbnormal tvbresword
svbnormal 'NotInheritable'  svbnormal tvbresword
svbnormal 'NotOverridable'  svbnormal tvbresword
svbnormal 'Object'       svbnormal tvbresword
svbnormal 'Of'           svbnormal tvbresword
svbnormal 'On'           svbnormal tvbresword
svbnormal 'Operator'     svbnormal tvbresword
svbnormal 'Option'       svbnormal tvbresword
svbnormal 'Optional'     svbnormal tvbresword
svbnormal 'Or'           svbnormal tvbresword
svbnormal 'OrElse'       svbnormal tvbresword
svbnormal 'Overloads'    svbnormal tvbresword
svbnormal 'Overridable'  svbnormal tvbresword
svbnormal 'Overrides'    svbnormal tvbresword
svbnormal 'ParamArray'   svbnormal tvbresword
svbnormal 'Partial'      svbnormal tvbresword
svbnormal 'Private'      svbnormal tvbresword
svbnormal 'Property'     svbnormal tvbresword
svbnormal 'Protected'    svbnormal tvbresword
svbnormal 'Public'       svbnormal tvbresword
svbnormal 'RaiseEvent'   svbnormal tvbresword
svbnormal 'ReadOnly'     svbnormal tvbresword
svbnormal 'ReDim'        svbnormal tvbresword
svbnormal 'REM'          svbnormal tvbresword
svbnormal 'RemoveHandler'   svbnormal tvbresword
svbnormal 'Resume'       svbnormal tvbresword
svbnormal 'Return'       svbnormal tvbresword
svbnormal 'SByte'        svbnormal tvbresword
svbnormal 'Select'       svbnormal tvbresword
svbnormal 'Set'          svbnormal tvbresword
svbnormal 'Shadows'      svbnormal tvbresword
svbnormal 'Shared'       svbnormal tvbresword
svbnormal 'Short'        svbnormal tvbresword
svbnormal 'Single'       svbnormal tvbresword
svbnormal 'Static'       svbnormal tvbresword
svbnormal 'Step'         svbnormal tvbresword
svbnormal 'Stop'         svbnormal tvbresword
svbnormal 'String'       svbnormal tvbresword
svbnormal 'Structure'    svbnormal tvbresword
svbnormal 'Sub'          svbnormal tvbresword
svbnormal 'SyncLock'     svbnormal tvbresword
svbnormal 'Then'         svbnormal tvbresword
svbnormal 'Throw'        svbnormal tvbresword
svbnormal 'To'           svbnormal tvbresword
svbnormal 'Try'          svbnormal tvbresword
svbnormal 'TryCast'      svbnormal tvbresword
svbnormal 'TypeOf'       svbnormal tvbresword
svbnormal 'UInteger'     svbnormal tvbresword
svbnormal 'ULong'        svbnormal tvbresword
svbnormal 'UShort'       svbnormal tvbresword
svbnormal 'Using'        svbnormal tvbresword
svbnormal 'Variant'      svbnormal tvbresword
svbnormal 'Wend'         svbnormal tvbresword
svbnormal 'When'         svbnormal tvbresword
svbnormal 'While'        svbnormal tvbresword
svbnormal 'Widening'     svbnormal tvbresword
svbnormal 'With'         svbnormal tvbresword
svbnormal 'WithEvents'   svbnormal tvbresword
svbnormal 'WriteOnly'    svbnormal tvbresword
svbnormal 'Xor'          svbnormal tvbresword
svbnormal 'FALSE'        svbnormal tvbresword
svbnormal 'TRUE'         svbnormal tvbresword

// objects
svbnormal 'AccessViolationException'    svbnormal tvbobject
svbnormal 'ActivationContext'           svbnormal tvbobject
svbnormal 'Activator'                   svbnormal tvbobject
svbnormal 'AppDomain'                   svbnormal tvbobject
svbnormal 'AppDomainManager'            svbnormal tvbobject
svbnormal 'AppDomainSetup'              svbnormal tvbobject
svbnormal 'AppDomainUnloadedException'  svbnormal tvbobject
svbnormal 'ApplicationException'        svbnormal tvbobject
svbnormal 'ApplicationId'               svbnormal tvbobject
svbnormal 'ApplicationIdentity'         svbnormal tvbobject
svbnormal 'ArgumentException'           svbnormal tvbobject
svbnormal 'ArgumentNullException'       svbnormal tvbobject
svbnormal 'ArgumentOutOfRangeException' svbnormal tvbobject
svbnormal 'ArithmeticException'         svbnormal tvbobject
svbnormal 'Array'                       svbnormal tvbobject
svbnormal 'ArrayTypeMismatchException'  svbnormal tvbobject
svbnormal 'AssemblyLoadEventArgs'       svbnormal tvbobject
svbnormal 'Attribute'                   svbnormal tvbobject
svbnormal 'AttributeUsageAttribute'     svbnormal tvbobject
svbnormal 'BadImageFormatException'     svbnormal tvbobject
svbnormal 'BitConverter'                svbnormal tvbobject
svbnormal 'Buffer'                      svbnormal tvbobject
svbnormal 'CannotUnloadAppDomainException'    svbnormal tvbobject
svbnormal 'CharEnumerator'              svbnormal tvbobject
svbnormal 'CLSCompliantAttribute'       svbnormal tvbobject
svbnormal 'Console'                     svbnormal tvbobject
svbnormal 'ConsoleCancelEventArgs'      svbnormal tvbobject
svbnormal 'ContextBoundObject'          svbnormal tvbobject
svbnormal 'ContextMarshalException'     svbnormal tvbobject
svbnormal 'ContextStaticAttribute'      svbnormal tvbobject
svbnormal 'Convert'                     svbnormal tvbobject
svbnormal 'DataMisalignedException'     svbnormal tvbobject
svbnormal 'DBNull'                      svbnormal tvbobject
svbnormal 'Delegate'                    svbnormal tvbobject
svbnormal 'DivideByZeroException'       svbnormal tvbobject
svbnormal 'DllNotFoundException'        svbnormal tvbobject
svbnormal 'DuplicateWaitObjectException'  svbnormal tvbobject
svbnormal 'EntryPointNotFoundException' svbnormal tvbobject
svbnormal 'Environment'                 svbnormal tvbobject
svbnormal 'EventArgs'                   svbnormal tvbobject
svbnormal 'Exception'                   svbnormal tvbobject
svbnormal 'ExecutionEngineException'    svbnormal tvbobject
svbnormal 'FieldAccessException'        svbnormal tvbobject
svbnormal 'FileStyleUriParser'          svbnormal tvbobject
svbnormal 'FlagsAttribute'              svbnormal tvbobject
svbnormal 'FormatException'             svbnormal tvbobject
svbnormal 'FtpStyleUriParser'           svbnormal tvbobject
svbnormal 'GC'                          svbnormal tvbobject
svbnormal 'GenericUriParser'            svbnormal tvbobject
svbnormal 'GopherStyleUriParser'        svbnormal tvbobject
svbnormal 'HttpStyleUriParser'          svbnormal tvbobject
svbnormal 'IndexOutOfRangeException'    svbnormal tvbobject
svbnormal 'InsufficientMemoryException' svbnormal tvbobject
svbnormal 'InvalidCastException'        svbnormal tvbobject
svbnormal 'InvalidOperationException'   svbnormal tvbobject
svbnormal 'InvalidProgramException'     svbnormal tvbobject
svbnormal 'LdapStyleUriParser'          svbnormal tvbobject
svbnormal 'LoaderOptimizationAttribute' svbnormal tvbobject
svbnormal 'LocalDataStoreSlot'          svbnormal tvbobject
svbnormal 'MarshalByRefObject'          svbnormal tvbobject
svbnormal 'Math'                        svbnormal tvbobject
svbnormal 'MemberAccessException'       svbnormal tvbobject
svbnormal 'MethodAccessException'       svbnormal tvbobject
svbnormal 'MissingFieldException'       svbnormal tvbobject
svbnormal 'MissingMemberException'      svbnormal tvbobject
svbnormal 'MissingMethodException'      svbnormal tvbobject
svbnormal 'MTAThreadAttribute'          svbnormal tvbobject
svbnormal 'MulticastDelegate'           svbnormal tvbobject
svbnormal 'MulticastNotSupportedException'   svbnormal tvbobject
svbnormal 'NetPipeStyleUriParser'       svbnormal tvbobject
svbnormal 'NetTcpStyleUriParser'        svbnormal tvbobject
svbnormal 'NewsStyleUriParser'          svbnormal tvbobject
svbnormal 'NonSerializedAttribute'      svbnormal tvbobject
svbnormal 'NotFiniteNumberException'    svbnormal tvbobject
svbnormal 'NotImplementedException'     svbnormal tvbobject
svbnormal 'NotSupportedException'       svbnormal tvbobject
svbnormal 'Nullable'                    svbnormal tvbobject
svbnormal 'NullReferenceException'      svbnormal tvbobject
svbnormal 'Object'                      svbnormal tvbobject
svbnormal 'ObjectDisposedException'     svbnormal tvbobject
svbnormal 'ObsoleteAttribute'           svbnormal tvbobject
svbnormal 'OperatingSystem'             svbnormal tvbobject
svbnormal 'OperationCanceledException'  svbnormal tvbobject
svbnormal 'OutOfMemoryException'        svbnormal tvbobject
svbnormal 'OverflowException'           svbnormal tvbobject
svbnormal 'ParamArrayAttribute'         svbnormal tvbobject
svbnormal 'PlatformNotSupportedException'   svbnormal tvbobject
svbnormal 'Random'                      svbnormal tvbobject
svbnormal 'RankException'               svbnormal tvbobject
svbnormal 'ResolveEventArgs'            svbnormal tvbobject
svbnormal 'SerializableAttribute'       svbnormal tvbobject
svbnormal 'StackOverflowException'      svbnormal tvbobject
svbnormal 'STAThreadAttribute'          svbnormal tvbobject
svbnormal 'String'                      svbnormal tvbobject
svbnormal 'StringComparer'              svbnormal tvbobject
svbnormal 'SystemException'             svbnormal tvbobject
svbnormal 'ThreadStaticAttribute'       svbnormal tvbobject
svbnormal 'TimeoutException'            svbnormal tvbobject
svbnormal 'TimeZone'                    svbnormal tvbobject
svbnormal 'Type'                        svbnormal tvbobject
svbnormal 'TypeInitializationException' svbnormal tvbobject
svbnormal 'TypeLoadException'           svbnormal tvbobject
svbnormal 'TypeUnloadedException'       svbnormal tvbobject
svbnormal 'UnauthorizedAccessException' svbnormal tvbobject
svbnormal 'UnhandledExceptionEventArgs' svbnormal tvbobject
svbnormal 'Uri'                         svbnormal tvbobject
svbnormal 'UriBuilder'                  svbnormal tvbobject
svbnormal 'UriFormatException'          svbnormal tvbobject
svbnormal 'UriParser'                   svbnormal tvbobject
svbnormal 'UriTypeConverter'            svbnormal tvbobject
svbnormal 'ValueType'                   svbnormal tvbobject
svbnormal 'Version'                     svbnormal tvbobject
svbnormal 'WeakReference'               svbnormal tvbobject


// numbers
svbnormal [0-9][0-9]*                            svbnormal  tvbinteger
svbnormal [1-9][0-9]*\.[0-9]*                    svbnormal  tvbfloat
svbnormal [1-9][0-9]*{\.[0-9]+}|e{[\+\-]}|[0-9]+ svbnormal  tvbfloat

//idents
svbnormal   [A-Z_a-z][0-9A-Z_a-z]*  svbnormal   tvbident

//white space
svbnormal #32*                      svbnormal  twhitespace

//comments
svbnormal   \'                       svbcomment1  tvbcomment
svbcomment1  .*                      svbnormal      tvbcomment
svbnormal   rem[^#33-#255]           svbcomment2  tvbcomment
svbcomment2  .*                      svbnormal      tvbcomment
svbcomment1  $                       svbnormal      tvbcomment
svbcomment2  $                       svbnormal      tvbcomment

//strings
svbnormal    \"                   svbstring    tvbstring
svbstring    [^\"]*               svbstring    tvbstring
svbstring    \"                   svbnormal      tvbstring
svbstring    \"\"                 svbstring    tvbstring
svbstring   \\                    svbstring    tvbstring
svbstring   \\\"                  svbstring    tvbstring
svbstring    $                    svbnormal      tvbstring



