C# Class SData.Internal.ParserBase

Mostra file Open project: knat/SData

Protected Properties

Property Type Description
_context LoadingContext

Protected Methods

Method Description
AtomValue ( Token &result ) : bool
AtomValueExpected ( ) : Token
Clear ( ) : void
ConsumeToken ( ) : void
EndOfFileExpected ( ) : void
Error ( DiagMsg diagMsg, TextSpan textSpan ) : void
Error ( int code, string errMsg, TextSpan textSpan ) : void
ErrorAndThrow ( DiagMsg diagMsg ) : void
ErrorAndThrow ( DiagMsg diagMsg, TextSpan textSpan ) : void
ErrorAndThrow ( string errMsg ) : void
ErrorAndThrow ( string errMsg, TextSpan textSpan ) : void
GetToken ( ) : Token
Init ( string filePath, TextReader reader, LoadingContext context ) : void
Keyword ( string value ) : bool
Keyword ( string value, Token &result ) : bool
KeywordExpected ( string value ) : Token
Name ( Token &result ) : bool
NameExpected ( ) : Token
Null ( Token &result ) : bool
ParserBase ( ) : System.IO
PeekToken ( int kind ) : bool
PeekToken ( int kind1, int kind2 ) : bool
PeekToken ( int kind1, int kind2, int kind3 ) : bool
PeekToken ( int kind1, int kind2, int kind3, int kind4 ) : bool
String ( Token &result ) : bool
StringExpected ( ) : Token
Throw ( ) : void
Token ( int kind ) : bool
Token ( int kind, Token &result ) : bool
TokenExpected ( char ch ) : Token
TokenExpected ( int kind, string errMsg ) : Token

Method Details

AtomValue() protected method

protected AtomValue ( Token &result ) : bool
result Token
return bool

AtomValueExpected() protected method

protected AtomValueExpected ( ) : Token
return Token

Clear() protected method

protected Clear ( ) : void
return void

ConsumeToken() protected method

protected ConsumeToken ( ) : void
return void

EndOfFileExpected() protected method

protected EndOfFileExpected ( ) : void
return void

Error() protected method

protected Error ( DiagMsg diagMsg, TextSpan textSpan ) : void
diagMsg DiagMsg
textSpan TextSpan
return void

Error() protected method

protected Error ( int code, string errMsg, TextSpan textSpan ) : void
code int
errMsg string
textSpan TextSpan
return void

ErrorAndThrow() protected method

protected ErrorAndThrow ( DiagMsg diagMsg ) : void
diagMsg DiagMsg
return void

ErrorAndThrow() protected method

protected ErrorAndThrow ( DiagMsg diagMsg, TextSpan textSpan ) : void
diagMsg DiagMsg
textSpan TextSpan
return void

ErrorAndThrow() protected method

protected ErrorAndThrow ( string errMsg ) : void
errMsg string
return void

ErrorAndThrow() protected method

protected ErrorAndThrow ( string errMsg, TextSpan textSpan ) : void
errMsg string
textSpan TextSpan
return void

GetToken() protected method

protected GetToken ( ) : Token
return Token

Init() protected method

protected Init ( string filePath, TextReader reader, LoadingContext context ) : void
filePath string
reader System.IO.TextReader
context LoadingContext
return void

Keyword() protected method

protected Keyword ( string value ) : bool
value string
return bool

Keyword() protected method

protected Keyword ( string value, Token &result ) : bool
value string
result Token
return bool

KeywordExpected() protected method

protected KeywordExpected ( string value ) : Token
value string
return Token

Name() protected method

protected Name ( Token &result ) : bool
result Token
return bool

NameExpected() protected method

protected NameExpected ( ) : Token
return Token

Null() protected method

protected Null ( Token &result ) : bool
result Token
return bool

ParserBase() protected method

protected ParserBase ( ) : System.IO
return System.IO

PeekToken() protected method

protected PeekToken ( int kind ) : bool
kind int
return bool

PeekToken() protected method

protected PeekToken ( int kind1, int kind2 ) : bool
kind1 int
kind2 int
return bool

PeekToken() protected method

protected PeekToken ( int kind1, int kind2, int kind3 ) : bool
kind1 int
kind2 int
kind3 int
return bool

PeekToken() protected method

protected PeekToken ( int kind1, int kind2, int kind3, int kind4 ) : bool
kind1 int
kind2 int
kind3 int
kind4 int
return bool

String() protected method

protected String ( Token &result ) : bool
result Token
return bool

StringExpected() protected method

protected StringExpected ( ) : Token
return Token

Throw() protected method

protected Throw ( ) : void
return void

Token() protected method

protected Token ( int kind ) : bool
kind int
return bool

Token() protected method

protected Token ( int kind, Token &result ) : bool
kind int
result Token
return bool

TokenExpected() protected method

protected TokenExpected ( char ch ) : Token
ch char
return Token

TokenExpected() protected method

protected TokenExpected ( int kind, string errMsg ) : Token
kind int
errMsg string
return Token

Property Details

_context protected_oe property

protected LoadingContext _context
return LoadingContext