C# Class Mono.CSharp.CSharpParser

The C# Parser
Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Свойство Type Description
ErrorOutput System.IO.TextWriter
InteractiveResult Class
RoleContracts Interface>.Dictionary
UnexpectedEOF bool
eof_token int
undo Undo
yacc_verbose_flag int

Protected Properties

Свойство Type Description
yyCheck short[]
yyDgoto short[]
yyFinal int
yyGindex short[]
yyMax int
yyNames string[]
yyRindex short[]
yySindex short[]
yyTable short[]
yydebug jay.yydebug.yyDebug

Méthodes publiques

Méthode Description
CSharpParser ( Mono.CSharp.SeekableStreamReader reader, Mono.CSharp.CompilationSourceFile file ) : System.Text
CSharpParser ( Mono.CSharp.SeekableStreamReader reader, Mono.CSharp.CompilationSourceFile file, Report report ) : System.Text
GetCurrentRoleContractName ( string roleName ) : string
GetCurrentRoleContractName ( string containerName, string roleName ) : string
parse ( ) : void
yyerror ( string message ) : void
yyerror ( string message, string expected ) : void
yyname ( int token ) : string

Méthodes protégées

Méthode Description
yyDefault ( Object first ) : Object
yyExpecting ( int state ) : string[]
yyExpectingTokens ( int state ) : int[]

Private Methods

Méthode Description
CSharpParser ( ) : System.Text
CheckAttributeTarget ( string a, Mono.CSharp.Location l ) : string
CheckToken ( int error, int yyToken, string msg, Mono.CSharp.Location loc ) : void
ConsumeStoredComment ( ) : string
Error_DuplicateParameterModifier ( Mono.CSharp.Location loc, Parameter mod ) : void
Error_ExpectingTypeName ( Mono.CSharp.Expression expr ) : void
Error_MissingInitializer ( Mono.CSharp.Location loc ) : void
Error_NamedArgumentExpected ( Mono.CSharp.NamedArgument a ) : void
Error_ParameterModifierNotValid ( string modifier, Mono.CSharp.Location loc ) : void
Error_SyntaxError ( int token ) : void
Error_SyntaxError ( int error_code, int token, string msg ) : void
Error_TypeExpected ( Mono.CSharp.Location loc ) : void
Error_UnsafeCodeNotAllowed ( Mono.CSharp.Location loc ) : void
FeatureIsNotAvailable ( Mono.CSharp.Location loc, string feature ) : void
FindField ( string name, Mono.CSharp.Location l ) : Field
FindMethod ( string name, Mono.CSharp.Location l ) : MemberCore
GetCurrentRoleContractName ( ) : string
GetExpecting ( ) : string
GetLocation ( object obj ) : Mono.CSharp.Location
GetSymbolName ( int token ) : string
GetTokenName ( int token ) : string
IsUnaryOperator ( Operator op ) : bool
MakeName ( MemberName class_name ) : MemberName
StoreModifierLocation ( object token, Mono.CSharp.Location loc ) : void
Warning_EmptyStatement ( Mono.CSharp.Location loc ) : void
checkForInteraction ( Expression exp ) : void
end_anonymous ( ParametersBlock anon_block ) : AnonymousMethodExpression
end_block ( Location loc ) : Block
pop_current_class ( ) : DeclSpace
push_current_class ( TypeContainer tc, object partial_token ) : void
start_anonymous ( bool isLambda, ParametersCompiled parameters, bool isAsync, Location loc ) : void
start_block ( Location loc ) : void
syntax_error ( Location l, string msg ) : void
token ( ) : int
value ( ) : Object
yyName ( int token ) : String
yyparse ( yyParser yyLex ) : Object
yyparse ( yyParser yyLex, Object yyd ) : Object

Method Details

CSharpParser() public méthode

public CSharpParser ( Mono.CSharp.SeekableStreamReader reader, Mono.CSharp.CompilationSourceFile file ) : System.Text
reader Mono.CSharp.SeekableStreamReader
file Mono.CSharp.CompilationSourceFile
Résultat System.Text

CSharpParser() public méthode

public CSharpParser ( Mono.CSharp.SeekableStreamReader reader, Mono.CSharp.CompilationSourceFile file, Report report ) : System.Text
reader Mono.CSharp.SeekableStreamReader
file Mono.CSharp.CompilationSourceFile
report Report
Résultat System.Text

GetCurrentRoleContractName() public méthode

public GetCurrentRoleContractName ( string roleName ) : string
roleName string
Résultat string

GetCurrentRoleContractName() public static méthode

public static GetCurrentRoleContractName ( string containerName, string roleName ) : string
containerName string
roleName string
Résultat string

parse() public méthode

public parse ( ) : void
Résultat void

yyDefault() protected méthode

protected yyDefault ( Object first ) : Object
first Object
Résultat Object

yyExpecting() protected méthode

protected yyExpecting ( int state ) : string[]
state int
Résultat string[]

yyExpectingTokens() protected méthode

protected yyExpectingTokens ( int state ) : int[]
state int
Résultat int[]

yyerror() public méthode

public yyerror ( string message ) : void
message string
Résultat void

yyerror() public méthode

public yyerror ( string message, string expected ) : void
message string
expected string
Résultat void

yyname() public static méthode

public static yyname ( int token ) : string
token int
Résultat string

Property Details

ErrorOutput public_oe property

public TextWriter,System.IO ErrorOutput
Résultat System.IO.TextWriter

InteractiveResult public_oe property

public Class,Mono.CSharp InteractiveResult
Résultat Class

RoleContracts public_oe static_oe property

public static Dictionary RoleContracts
Résultat Interface>.Dictionary

UnexpectedEOF public_oe property

public bool UnexpectedEOF
Résultat bool

eof_token public_oe property

public int eof_token
Résultat int

undo public_oe property

public Undo undo
Résultat Undo

yacc_verbose_flag static_oe public_oe property

static public int yacc_verbose_flag
Résultat int

yyCheck protected_oe static_oe property

protected static short[] yyCheck
Résultat short[]

yyDgoto protected_oe static_oe property

protected static short[] yyDgoto
Résultat short[]

yyFinal protected_oe static_oe property

protected static int yyFinal
Résultat int

yyGindex protected_oe static_oe property

protected static short[] yyGindex
Résultat short[]

yyMax protected_oe property

protected int yyMax
Résultat int

yyNames protected_oe static_oe property

protected static string[] yyNames
Résultat string[]

yyRindex protected_oe static_oe property

protected static short[] yyRindex
Résultat short[]

yySindex protected_oe static_oe property

protected static short[] yySindex
Résultat short[]

yyTable protected_oe static_oe property

protected static short[] yyTable
Résultat short[]

yydebug protected_oe property

protected jay.yydebug.yyDebug yydebug
Résultat jay.yydebug.yyDebug