Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
NShader.Lexer.Scanner Class Reference
Inheritance diagram for NShader.Lexer.Scanner:
NShader.Lexer.ScanBase NShader.Lexer.IColorScan

Classes

class  BigEndTextBuff
 This is the Buffer for Big-endian UTF16 files. More...
 
class  Context
 
class  LittleEndTextBuff
 This is the Buffer for Little-endian UTF16 files. More...
 
class  StreamBuff
 
class  StringBuff
 
class  TextBuff
 This is the Buffer for UTF8 files. It attempts to read the encoding preamble, which for this encoding should be unicode point which is encoded as EF BB BF More...
 

Public Member Functions

 Scanner (Stream file)
 
 Scanner ()
 
void SetSource (string source, int offset)
 
int GetNext (ref int state, out int start, out int end)
 
override int yylex ()
 

Public Attributes

ScanBuff buffer
 
IShaderTokenProvider ShaderTokenProvider = null
 

Properties

override int CurrentSc [get, set]
 
string yytext [get]
 
IErrorHandler Handler [get, set]
 
- Properties inherited from NShader.Lexer.ScanBase
abstract int CurrentSc [get, set]
 
virtual int EolState [get, set]
 

Detailed Description

Definition at line 83 of file ShaderMPlexer.cs.

Constructor & Destructor Documentation

NShader.Lexer.Scanner.Scanner ( Stream  file)

Definition at line 682 of file ShaderMPlexer.cs.

NShader.Lexer.Scanner.Scanner ( )

Definition at line 689 of file ShaderMPlexer.cs.

Member Function Documentation

int NShader.Lexer.Scanner.GetNext ( ref int  state,
out int  start,
out int  end 
)
void NShader.Lexer.Scanner.SetSource ( string  source,
int  offset 
)

Implements NShader.Lexer.IColorScan.

Definition at line 721 of file ShaderMPlexer.cs.

override int NShader.Lexer.Scanner.yylex ( )
virtual

Implements NShader.Lexer.ScanBase.

Definition at line 743 of file ShaderMPlexer.cs.

Member Data Documentation

ScanBuff NShader.Lexer.Scanner.buffer

Definition at line 86 of file ShaderMPlexer.cs.

IShaderTokenProvider NShader.Lexer.Scanner.ShaderTokenProvider = null

Definition at line 139 of file ShaderMPlexer.cs.

Property Documentation

override int NShader.Lexer.Scanner.CurrentSc
getsetprotected

Definition at line 98 of file ShaderMPlexer.cs.

IErrorHandler NShader.Lexer.Scanner.Handler
getset

Definition at line 776 of file ShaderMPlexer.cs.

string NShader.Lexer.Scanner.yytext
get

Definition at line 760 of file ShaderMPlexer.cs.


The documentation for this class was generated from the following file: