C# 클래스 Microsoft.JScript.JSScanner

파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
GetCurrentLine ( ) : int
GetCurrentPosition ( bool absolute ) : int
GetNextToken ( ) : void
GetSourceCode ( ) : string
GetStartLinePosition ( ) : int
GetStringLiteral ( ) : string
GotEndOfLine ( ) : bool
IsKeyword ( JSToken token ) : bool
IsOperator ( JSToken token ) : bool
JSScanner ( ) : Microsoft.JScript.Vsa
JSScanner ( Context sourceContext ) : Microsoft.JScript.Vsa
SetAuthoringMode ( bool mode ) : void
SetSource ( Context sourceContext ) : void
SkipMultiLineComment ( ) : int

비공개 메소드들

메소드 설명
CanParseAsExpression ( JSToken token ) : bool
CanStartStatement ( JSToken token ) : bool
GetChar ( int index ) : char
GetHexValue ( char hex ) : int
GetIdentifier ( ) : String
GetOperatorPrecedence ( JSToken token ) : OpPrec
GetPPOperatorPrecedence ( JSToken token ) : OpPrec
GetPreProcessorValue ( ) : Object
HandleError ( JSError error ) : void
InitOperatorsPrec ( ) : OpPrec[]
InitPPOperatorsPrec ( ) : OpPrec[]
IsAsciiLetter ( char c ) : bool
IsAssignmentOperator ( JSToken token ) : bool
IsBlankSpace ( char c ) : bool
IsDigit ( char c ) : bool
IsEndLineOrEOF ( char c, int increment ) : bool
IsHexDigit ( char c ) : bool
IsIdentifierPartChar ( char c ) : bool
IsIdentifierStartChar ( char &c ) : bool
IsLineTerminator ( char c, int increment ) : bool
IsPPOperator ( JSToken token ) : bool
IsProcessableOperator ( JSToken token ) : bool
IsRightAssociativeOperator ( JSToken token ) : bool
IsUnicodeLetter ( char c ) : bool
PPDebugDirective ( ) : void
PPGetValue ( JSToken op, Object op1, Object op2 ) : Object
PPLanguageOption ( ) : void
PPRemapPositionInfo ( ) : void
PPScanConstant ( ) : Object
PPScanExpr ( ) : Object
PPScanSet ( ) : void
PPSkipToNextCondition ( bool checkCondition ) : void
PPTestCond ( ) : bool
PeekToken ( ) : JSToken
ScanIdentifier ( ) : void
ScanKeyword ( JSKeyword keyword ) : JSToken
ScanNumber ( char leadChar ) : JSToken
ScanRegExp ( ) : String
ScanRegExpFlags ( ) : String
ScanString ( char cStringTerminator ) : void
SetPreProcessorOn ( ) : void
SkipBlanks ( ) : void
SkipSingleLineComment ( ) : void

메소드 상세

GetCurrentLine() 공개 메소드

public GetCurrentLine ( ) : int
리턴 int

GetCurrentPosition() 공개 메소드

public GetCurrentPosition ( bool absolute ) : int
absolute bool
리턴 int

GetNextToken() 공개 메소드

public GetNextToken ( ) : void
리턴 void

GetSourceCode() 공개 메소드

public GetSourceCode ( ) : string
리턴 string

GetStartLinePosition() 공개 메소드

public GetStartLinePosition ( ) : int
리턴 int

GetStringLiteral() 공개 메소드

public GetStringLiteral ( ) : string
리턴 string

GotEndOfLine() 공개 메소드

public GotEndOfLine ( ) : bool
리턴 bool

IsKeyword() 공개 정적인 메소드

public static IsKeyword ( JSToken token ) : bool
token JSToken
리턴 bool

IsOperator() 공개 정적인 메소드

public static IsOperator ( JSToken token ) : bool
token JSToken
리턴 bool

JSScanner() 공개 메소드

public JSScanner ( ) : Microsoft.JScript.Vsa
리턴 Microsoft.JScript.Vsa

JSScanner() 공개 메소드

public JSScanner ( Context sourceContext ) : Microsoft.JScript.Vsa
sourceContext Context
리턴 Microsoft.JScript.Vsa

SetAuthoringMode() 공개 메소드

public SetAuthoringMode ( bool mode ) : void
mode bool
리턴 void

SetSource() 공개 메소드

public SetSource ( Context sourceContext ) : void
sourceContext Context
리턴 void

SkipMultiLineComment() 공개 메소드

public SkipMultiLineComment ( ) : int
리턴 int