C# Class Boo.Lang.Compiler.Ast.AstUtil

Afficher le fichier Open project: boo/boo-lang Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AstUtil ( ) : System

Method Details

BuildUniqueTypeMemberName() public static méthode

public static BuildUniqueTypeMemberName ( Boo.Lang.Compiler.Ast.TypeDefinition type, string name ) : string
type Boo.Lang.Compiler.Ast.TypeDefinition
name string
Résultat string

CreateConstructor() public static méthode

public static CreateConstructor ( Node lexicalInfoProvider, TypeMemberModifiers modifiers ) : Constructor
lexicalInfoProvider Node
modifiers TypeMemberModifiers
Résultat Constructor

CreateMethodInvocationExpression() public static méthode

public static CreateMethodInvocationExpression ( Expression target, Expression arg ) : MethodInvocationExpression
target Expression
arg Expression
Résultat MethodInvocationExpression

CreateMethodInvocationExpression() public static méthode

public static CreateMethodInvocationExpression ( LexicalInfo li, Expression target, Expression arg ) : MethodInvocationExpression
li LexicalInfo
target Expression
arg Expression
Résultat MethodInvocationExpression

CreateReferenceExpression() public static méthode

public static CreateReferenceExpression ( LexicalInfo li, string fullname ) : ReferenceExpression
li LexicalInfo
fullname string
Résultat ReferenceExpression

CreateReferenceExpression() public static méthode

public static CreateReferenceExpression ( string fullname ) : ReferenceExpression
fullname string
Résultat ReferenceExpression

DebugNode() public static méthode

public static DebugNode ( Node node ) : void
node Node
Résultat void

FromXml() public static méthode

public static FromXml ( Type type, string code ) : Node
type System.Type
code string
Résultat Node

GetMemberAnchor() public static méthode

public static GetMemberAnchor ( Node node ) : Node
node Node
Résultat Node

GetMethodNameForOperator() public static méthode

public static GetMethodNameForOperator ( BinaryOperatorType op ) : string
op BinaryOperatorType
Résultat string

GetMethodNameForOperator() public static méthode

public static GetMethodNameForOperator ( UnaryOperatorType op ) : string
op UnaryOperatorType
Résultat string

GetParentClass() public static méthode

public static GetParentClass ( Node node ) : ClassDefinition
node Node
Résultat ClassDefinition

GetParentTryExceptEnsure() public static méthode

public static GetParentTryExceptEnsure ( Node node ) : Node
node Node
Résultat Node

IsAssignment() public static méthode

public static IsAssignment ( Expression node ) : bool
node Expression
Résultat bool

IsAssignmentOperator() public static méthode

public static IsAssignmentOperator ( BinaryOperatorType op ) : bool
op BinaryOperatorType
Résultat bool

IsComplexSlice() public static méthode

public static IsComplexSlice ( Boo.Lang.Compiler.Ast.Slice slice ) : bool
slice Boo.Lang.Compiler.Ast.Slice
Résultat bool

IsComplexSlicing() public static méthode

public static IsComplexSlicing ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : bool
node Boo.Lang.Compiler.Ast.SlicingExpression
Résultat bool

IsExplodeExpression() public static méthode

public static IsExplodeExpression ( Node node ) : bool
node Node
Résultat bool

IsIncDec() public static méthode

public static IsIncDec ( Node node ) : bool
node Node
Résultat bool

IsLhsOfAssignment() public static méthode

public static IsLhsOfAssignment ( Expression node ) : bool
node Expression
Résultat bool

IsLhsOfInPlaceAddSubtract() public static méthode

public static IsLhsOfInPlaceAddSubtract ( Expression node ) : bool
node Expression
Résultat bool

IsListGenerator() public static méthode

public static IsListGenerator ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : bool
node Boo.Lang.Compiler.Ast.ListLiteralExpression
Résultat bool

IsListGenerator() public static méthode

public static IsListGenerator ( Node node ) : bool
node Node
Résultat bool

IsListMultiGenerator() public static méthode

public static IsListMultiGenerator ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : bool
node Boo.Lang.Compiler.Ast.ListLiteralExpression
Résultat bool

IsListMultiGenerator() public static méthode

public static IsListMultiGenerator ( Node node ) : bool
node Node
Résultat bool

IsOverloadableOperator() public static méthode

public static IsOverloadableOperator ( BinaryOperatorType op ) : bool
op BinaryOperatorType
Résultat bool

IsPostUnaryOperator() public static méthode

public static IsPostUnaryOperator ( UnaryOperatorType op ) : bool
op UnaryOperatorType
Résultat bool

IsTargetOfGenericMethodInvocation() public static méthode

public static IsTargetOfGenericMethodInvocation ( Expression node ) : bool
node Expression
Résultat bool

IsTargetOfMemberReference() public static méthode

public static IsTargetOfMemberReference ( Expression node ) : bool
node Expression
Résultat bool

IsTargetOfMethodInvocation() public static méthode

public static IsTargetOfMethodInvocation ( Expression node ) : bool
node Expression
Résultat bool

IsTargetOfSlicing() public static méthode

public static IsTargetOfSlicing ( Expression node ) : bool
node Expression
Résultat bool

SafeToCodeString() public static méthode

public static SafeToCodeString ( Node node ) : string
node Node
Résultat string

ToXml() public static méthode

public static ToXml ( Node node ) : string
node Node
Résultat string