C# 클래스 Boo.Lang.Compiler.Ast.AstUtil

파일 보기 프로젝트 열기: boo/boo-lang 1 사용 예제들

공개 메소드들

메소드 설명
BuildUniqueTypeMemberName ( Boo.Lang.Compiler.Ast.TypeDefinition type, string name ) : string
CreateConstructor ( Node lexicalInfoProvider, TypeMemberModifiers modifiers ) : Constructor
CreateMethodInvocationExpression ( Expression target, Expression arg ) : MethodInvocationExpression
CreateMethodInvocationExpression ( LexicalInfo li, Expression target, Expression arg ) : MethodInvocationExpression
CreateReferenceExpression ( LexicalInfo li, string fullname ) : ReferenceExpression
CreateReferenceExpression ( string fullname ) : ReferenceExpression
DebugNode ( Node node ) : void
FromXml ( Type type, string code ) : Node
GetMemberAnchor ( Node node ) : Node
GetMethodNameForOperator ( BinaryOperatorType op ) : string
GetMethodNameForOperator ( UnaryOperatorType op ) : string
GetParentClass ( Node node ) : ClassDefinition
GetParentTryExceptEnsure ( Node node ) : Node
IsAssignment ( Expression node ) : bool
IsAssignmentOperator ( BinaryOperatorType op ) : bool
IsComplexSlice ( Boo.Lang.Compiler.Ast.Slice slice ) : bool
IsComplexSlicing ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : bool
IsExplodeExpression ( Node node ) : bool
IsIncDec ( Node node ) : bool
IsLhsOfAssignment ( Expression node ) : bool
IsLhsOfInPlaceAddSubtract ( Expression node ) : bool
IsListGenerator ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : bool
IsListGenerator ( Node node ) : bool
IsListMultiGenerator ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : bool
IsListMultiGenerator ( Node node ) : bool
IsOverloadableOperator ( BinaryOperatorType op ) : bool
IsPostUnaryOperator ( UnaryOperatorType op ) : bool
IsTargetOfGenericMethodInvocation ( Expression node ) : bool
IsTargetOfMemberReference ( Expression node ) : bool
IsTargetOfMethodInvocation ( Expression node ) : bool
IsTargetOfSlicing ( Expression node ) : bool
SafeToCodeString ( Node node ) : string
ToXml ( Node node ) : string

비공개 메소드들

메소드 설명
AstUtil ( ) : System

메소드 상세

BuildUniqueTypeMemberName() 공개 정적인 메소드

public static BuildUniqueTypeMemberName ( Boo.Lang.Compiler.Ast.TypeDefinition type, string name ) : string
type Boo.Lang.Compiler.Ast.TypeDefinition
name string
리턴 string

CreateConstructor() 공개 정적인 메소드

public static CreateConstructor ( Node lexicalInfoProvider, TypeMemberModifiers modifiers ) : Constructor
lexicalInfoProvider Node
modifiers TypeMemberModifiers
리턴 Constructor

CreateMethodInvocationExpression() 공개 정적인 메소드

public static CreateMethodInvocationExpression ( Expression target, Expression arg ) : MethodInvocationExpression
target Expression
arg Expression
리턴 MethodInvocationExpression

CreateMethodInvocationExpression() 공개 정적인 메소드

public static CreateMethodInvocationExpression ( LexicalInfo li, Expression target, Expression arg ) : MethodInvocationExpression
li LexicalInfo
target Expression
arg Expression
리턴 MethodInvocationExpression

CreateReferenceExpression() 공개 정적인 메소드

public static CreateReferenceExpression ( LexicalInfo li, string fullname ) : ReferenceExpression
li LexicalInfo
fullname string
리턴 ReferenceExpression

CreateReferenceExpression() 공개 정적인 메소드

public static CreateReferenceExpression ( string fullname ) : ReferenceExpression
fullname string
리턴 ReferenceExpression

DebugNode() 공개 정적인 메소드

public static DebugNode ( Node node ) : void
node Node
리턴 void

FromXml() 공개 정적인 메소드

public static FromXml ( Type type, string code ) : Node
type System.Type
code string
리턴 Node

GetMemberAnchor() 공개 정적인 메소드

public static GetMemberAnchor ( Node node ) : Node
node Node
리턴 Node

GetMethodNameForOperator() 공개 정적인 메소드

public static GetMethodNameForOperator ( BinaryOperatorType op ) : string
op BinaryOperatorType
리턴 string

GetMethodNameForOperator() 공개 정적인 메소드

public static GetMethodNameForOperator ( UnaryOperatorType op ) : string
op UnaryOperatorType
리턴 string

GetParentClass() 공개 정적인 메소드

public static GetParentClass ( Node node ) : ClassDefinition
node Node
리턴 ClassDefinition

GetParentTryExceptEnsure() 공개 정적인 메소드

public static GetParentTryExceptEnsure ( Node node ) : Node
node Node
리턴 Node

IsAssignment() 공개 정적인 메소드

public static IsAssignment ( Expression node ) : bool
node Expression
리턴 bool

IsAssignmentOperator() 공개 정적인 메소드

public static IsAssignmentOperator ( BinaryOperatorType op ) : bool
op BinaryOperatorType
리턴 bool

IsComplexSlice() 공개 정적인 메소드

public static IsComplexSlice ( Boo.Lang.Compiler.Ast.Slice slice ) : bool
slice Boo.Lang.Compiler.Ast.Slice
리턴 bool

IsComplexSlicing() 공개 정적인 메소드

public static IsComplexSlicing ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : bool
node Boo.Lang.Compiler.Ast.SlicingExpression
리턴 bool

IsExplodeExpression() 공개 정적인 메소드

public static IsExplodeExpression ( Node node ) : bool
node Node
리턴 bool

IsIncDec() 공개 정적인 메소드

public static IsIncDec ( Node node ) : bool
node Node
리턴 bool

IsLhsOfAssignment() 공개 정적인 메소드

public static IsLhsOfAssignment ( Expression node ) : bool
node Expression
리턴 bool

IsLhsOfInPlaceAddSubtract() 공개 정적인 메소드

public static IsLhsOfInPlaceAddSubtract ( Expression node ) : bool
node Expression
리턴 bool

IsListGenerator() 공개 정적인 메소드

public static IsListGenerator ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : bool
node Boo.Lang.Compiler.Ast.ListLiteralExpression
리턴 bool

IsListGenerator() 공개 정적인 메소드

public static IsListGenerator ( Node node ) : bool
node Node
리턴 bool

IsListMultiGenerator() 공개 정적인 메소드

public static IsListMultiGenerator ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : bool
node Boo.Lang.Compiler.Ast.ListLiteralExpression
리턴 bool

IsListMultiGenerator() 공개 정적인 메소드

public static IsListMultiGenerator ( Node node ) : bool
node Node
리턴 bool

IsOverloadableOperator() 공개 정적인 메소드

public static IsOverloadableOperator ( BinaryOperatorType op ) : bool
op BinaryOperatorType
리턴 bool

IsPostUnaryOperator() 공개 정적인 메소드

public static IsPostUnaryOperator ( UnaryOperatorType op ) : bool
op UnaryOperatorType
리턴 bool

IsTargetOfGenericMethodInvocation() 공개 정적인 메소드

public static IsTargetOfGenericMethodInvocation ( Expression node ) : bool
node Expression
리턴 bool

IsTargetOfMemberReference() 공개 정적인 메소드

public static IsTargetOfMemberReference ( Expression node ) : bool
node Expression
리턴 bool

IsTargetOfMethodInvocation() 공개 정적인 메소드

public static IsTargetOfMethodInvocation ( Expression node ) : bool
node Expression
리턴 bool

IsTargetOfSlicing() 공개 정적인 메소드

public static IsTargetOfSlicing ( Expression node ) : bool
node Expression
리턴 bool

SafeToCodeString() 공개 정적인 메소드

public static SafeToCodeString ( Node node ) : string
node Node
리턴 string

ToXml() 공개 정적인 메소드

public static ToXml ( Node node ) : string
node Node
리턴 string