C# Class Microsoft.JScript.JSParser

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Свойство Type Description
CheckForReturnFromFinally bool
CreateExpressionNode AST
CurrentPositionContext Context
EOFError void
ForceReportInfo void
ForceReportInfo void
ForceReportInfo void
FromASTListToCustomAttributeList CustomAttributeList
GetNextToken void
GuessIfAbstract bool
IndexOfToken int
IndexOfToken int
MemberExpression AST
MemberExpression AST
MemberExpression AST
ParseAttributes AST
ParseBlock Block
ParseBlock Block
ParseBreakStatement Break
ParseClass AST
ParseClassBody Block
ParseClassMember AST
ParseConstructorCall AST
ParseContinueStatement Continue
ParseCustomAttributeList CustomAttributeList
ParseDoStatement DoWhile
ParseEnum AST
ParseEnumMember AST
ParseExpression AST
ParseExpression AST
ParseExpression AST
ParseExpression AST
ParseExpressionItem ScriptBlock
ParseExpressionList ASTList
ParseForStatement AST
ParseFunction AST
ParseFunction AST
ParseFunctionExpression AST
ParseIdentifierInitializer AST
ParseIfStatement If
ParseImportStatement Import
ParseLeftHandSideExpression AST
ParseLeftHandSideExpression AST
ParseLeftHandSideExpression AST
ParseNamedBreakpoint String[]
ParsePackage AST
ParsePostfixExpression AST
ParsePostfixExpression AST
ParseQualifiedIdentifier AST
ParseReturnStatement Return
ParseScopeSequence AST
ParseStatement AST
ParseStatements Block
ParseStaticInitializer AST
ParseSwitchStatement AST
ParseThrowStatement AST
ParseTryStatement AST
ParseTypeExpression TypeExpression
ParseUnaryExpression AST
ParseUnaryExpression AST
ParseUnaryExpression AST
ParseVariableStatement AST
ParseWhileStatement While
ParseWithStatement With
ReportError void
ReportError void
ReportError void
ReportError void
SkipTokensAndThrow void
SkipTokensAndThrow void
TokenInList bool
TokenInList bool
WriteToFile void

Méthodes publiques

Méthode Description
JSParser ( Context context ) : System
Parse ( ) : ScriptBlock
ParseEvalBody ( ) : Block

Private Methods

Méthode Description
CheckForReturnFromFinally ( ) : bool
CreateExpressionNode ( JSToken op, AST operand1, AST operand2 ) : AST
CurrentPositionContext ( ) : Context
EOFError ( JSError errorId ) : void
ForceReportInfo ( Context context, JSError errorId ) : void
ForceReportInfo ( JSError errorId ) : void
ForceReportInfo ( JSError errorId, bool treatAsError ) : void
FromASTListToCustomAttributeList ( ArrayList attributes ) : CustomAttributeList
GetNextToken ( ) : void
GuessIfAbstract ( ) : bool
IndexOfToken ( JSToken tokens, JSToken token ) : int
IndexOfToken ( JSToken tokens, RecoveryTokenException exc ) : int
MemberExpression ( AST expression, ArrayList newContexts ) : AST
MemberExpression ( AST expression, ArrayList newContexts, bool &canBeAttribute ) : AST
MemberExpression ( AST expression, ArrayList newContexts, bool &canBeQualid, bool &canBeAttribute ) : AST
ParseAttributes ( AST statement, bool unambiguousContext, bool isInsideClass, bool &parsedOK ) : AST
ParseBlock ( ) : Block
ParseBlock ( Context &closingBraceContext ) : Block
ParseBreakStatement ( ) : Break
ParseClass ( FieldAttributes visibilitySpec, bool isStatic, Context classCtx, bool isAbstract, bool isFinal, CustomAttributeList customAttributes ) : AST
ParseClassBody ( bool isEnum, bool isInterface ) : Block
ParseClassMember ( bool isInterface ) : AST
ParseConstructorCall ( Context superCtx ) : AST
ParseContinueStatement ( ) : Continue
ParseCustomAttributeList ( ) : CustomAttributeList
ParseDoStatement ( ) : DoWhile
ParseEnum ( FieldAttributes visibilitySpec, Context enumCtx, CustomAttributeList customAttributes ) : AST
ParseEnumMember ( ) : AST
ParseExpression ( ) : AST
ParseExpression ( AST leftHandSide, bool single, bool bCanAssign, JSToken inToken ) : AST
ParseExpression ( bool single ) : AST
ParseExpression ( bool single, JSToken inToken ) : AST
ParseExpressionItem ( ) : ScriptBlock
ParseExpressionList ( JSToken terminator ) : ASTList
ParseForStatement ( ) : AST
ParseFunction ( FieldAttributes visibilitySpec, bool inExpression, Context fncCtx, bool isMethod, bool isAbstract, bool isFinal, bool isInterface, CustomAttributeList customAttributes ) : AST
ParseFunction ( FieldAttributes visibilitySpec, bool inExpression, Context fncCtx, bool isMethod, bool isAbstract, bool isFinal, bool isInterface, CustomAttributeList customAttributes, Call function ) : AST
ParseFunctionExpression ( ) : AST
ParseIdentifierInitializer ( JSToken inToken, FieldAttributes visibility, CustomAttributeList customAttributes, JSToken kind ) : AST
ParseIfStatement ( ) : If
ParseImportStatement ( ) : Import
ParseLeftHandSideExpression ( ) : AST
ParseLeftHandSideExpression ( bool isMinus ) : AST
ParseLeftHandSideExpression ( bool isMinus, bool &canBeAttribute, bool warnForKeyword ) : AST
ParseNamedBreakpoint ( int &argNumber ) : String[]
ParsePackage ( Context packageContext ) : AST
ParsePostfixExpression ( AST ast, bool &isLeftHandSideExpr ) : AST
ParsePostfixExpression ( AST ast, bool &isLeftHandSideExpr, bool &canBeAttribute ) : AST
ParseQualifiedIdentifier ( JSError error ) : AST
ParseReturnStatement ( ) : Return
ParseScopeSequence ( AST qualid, JSError error ) : AST
ParseStatement ( ) : AST
ParseStatements ( bool insideEval ) : Block
ParseStaticInitializer ( Context initContext ) : AST
ParseSwitchStatement ( ) : AST
ParseThrowStatement ( ) : AST
ParseTryStatement ( ) : AST
ParseTypeExpression ( ) : TypeExpression
ParseUnaryExpression ( bool &isLeftHandSideExpr, bool isMinus ) : AST
ParseUnaryExpression ( bool &isLeftHandSideExpr, bool &canBeAttribute, bool isMinus ) : AST
ParseUnaryExpression ( bool &isLeftHandSideExpr, bool &canBeAttribute, bool isMinus, bool warnForKeyword ) : AST
ParseVariableStatement ( FieldAttributes visibility, CustomAttributeList customAttributes, JSToken kind ) : AST
ParseWhileStatement ( ) : While
ParseWithStatement ( ) : With
ReportError ( JSError errorId ) : void
ReportError ( JSError errorId, Context context ) : void
ReportError ( JSError errorId, Context context, bool skipToken ) : void
ReportError ( JSError errorId, bool skipToken ) : void
SkipTokensAndThrow ( ) : void
SkipTokensAndThrow ( AST partialAST ) : void
TokenInList ( JSToken tokens, JSToken token ) : bool
TokenInList ( JSToken tokens, RecoveryTokenException exc ) : bool
WriteToFile ( Context context ) : void

Method Details

JSParser() public méthode

public JSParser ( Context context ) : System
context Context
Résultat System

Parse() public méthode

public Parse ( ) : ScriptBlock
Résultat ScriptBlock

ParseEvalBody() public méthode

public ParseEvalBody ( ) : Block
Résultat Block