C# 클래스 Mono.CSharp.CSharpParser

The C# Parser
파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ErrorOutput System.IO.TextWriter
InteractiveResult Class
RoleContracts Interface>.Dictionary
UnexpectedEOF bool
eof_token int
undo Undo
yacc_verbose_flag int

보호된 프로퍼티들

프로퍼티 타입 설명
yyCheck short[]
yyDgoto short[]
yyFinal int
yyGindex short[]
yyMax int
yyNames string[]
yyRindex short[]
yySindex short[]
yyTable short[]
yydebug jay.yydebug.yyDebug

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
yyDefault ( Object first ) : Object
yyExpecting ( int state ) : string[]
yyExpectingTokens ( int state ) : int[]

비공개 메소드들

메소드 설명
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

메소드 상세

CSharpParser() 공개 메소드

public CSharpParser ( Mono.CSharp.SeekableStreamReader reader, Mono.CSharp.CompilationSourceFile file ) : System.Text
reader Mono.CSharp.SeekableStreamReader
file Mono.CSharp.CompilationSourceFile
리턴 System.Text

CSharpParser() 공개 메소드

public CSharpParser ( Mono.CSharp.SeekableStreamReader reader, Mono.CSharp.CompilationSourceFile file, Report report ) : System.Text
reader Mono.CSharp.SeekableStreamReader
file Mono.CSharp.CompilationSourceFile
report Report
리턴 System.Text

GetCurrentRoleContractName() 공개 메소드

public GetCurrentRoleContractName ( string roleName ) : string
roleName string
리턴 string

GetCurrentRoleContractName() 공개 정적인 메소드

public static GetCurrentRoleContractName ( string containerName, string roleName ) : string
containerName string
roleName string
리턴 string

parse() 공개 메소드

public parse ( ) : void
리턴 void

yyDefault() 보호된 메소드

protected yyDefault ( Object first ) : Object
first Object
리턴 Object

yyExpecting() 보호된 메소드

protected yyExpecting ( int state ) : string[]
state int
리턴 string[]

yyExpectingTokens() 보호된 메소드

protected yyExpectingTokens ( int state ) : int[]
state int
리턴 int[]

yyerror() 공개 메소드

public yyerror ( string message ) : void
message string
리턴 void

yyerror() 공개 메소드

public yyerror ( string message, string expected ) : void
message string
expected string
리턴 void

yyname() 공개 정적인 메소드

public static yyname ( int token ) : string
token int
리턴 string

프로퍼티 상세

ErrorOutput 공개적으로 프로퍼티

public TextWriter,System.IO ErrorOutput
리턴 System.IO.TextWriter

InteractiveResult 공개적으로 프로퍼티

public Class,Mono.CSharp InteractiveResult
리턴 Class

RoleContracts 공개적으로 정적으로 프로퍼티

public static Dictionary RoleContracts
리턴 Interface>.Dictionary

UnexpectedEOF 공개적으로 프로퍼티

public bool UnexpectedEOF
리턴 bool

eof_token 공개적으로 프로퍼티

public int eof_token
리턴 int

undo 공개적으로 프로퍼티

public Undo undo
리턴 Undo

yacc_verbose_flag 정적으로 공개적으로 프로퍼티

static public int yacc_verbose_flag
리턴 int

yyCheck 보호되어 있는 정적으로 프로퍼티

protected static short[] yyCheck
리턴 short[]

yyDgoto 보호되어 있는 정적으로 프로퍼티

protected static short[] yyDgoto
리턴 short[]

yyFinal 보호되어 있는 정적으로 프로퍼티

protected static int yyFinal
리턴 int

yyGindex 보호되어 있는 정적으로 프로퍼티

protected static short[] yyGindex
리턴 short[]

yyMax 보호되어 있는 프로퍼티

protected int yyMax
리턴 int

yyNames 보호되어 있는 정적으로 프로퍼티

protected static string[] yyNames
리턴 string[]

yyRindex 보호되어 있는 정적으로 프로퍼티

protected static short[] yyRindex
리턴 short[]

yySindex 보호되어 있는 정적으로 프로퍼티

protected static short[] yySindex
리턴 short[]

yyTable 보호되어 있는 정적으로 프로퍼티

protected static short[] yyTable
리턴 short[]

yydebug 보호되어 있는 프로퍼티

protected jay.yydebug.yyDebug yydebug
리턴 jay.yydebug.yyDebug