C# Class Boo.Lang.Compiler.CompilerWarningFactory

Afficher le fichier Open project: boo/boo-lang

Méthodes publiques

Méthode Description
AbstractMemberNotImplemented ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
AbstractMemberNotImplementedStubCreated ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
AssignmentToTemporary ( Node node ) : Boo.Lang.Compiler.CompilerWarning
CustomWarning ( LexicalInfo lexicalInfo, string msg ) : Boo.Lang.Compiler.CompilerWarning
CustomWarning ( string msg ) : Boo.Lang.Compiler.CompilerWarning
DuplicateNamespace ( Import import, string name ) : Boo.Lang.Compiler.CompilerWarning
EqualsInsteadOfAssign ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : Boo.Lang.Compiler.CompilerWarning
HaveBothKeyFileAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
HaveBothKeyNameAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
InvalidEventUnsubscribe ( Node node, string eventName, CallableSignature expected ) : Boo.Lang.Compiler.CompilerWarning
IsInsteadOfIsa ( Node node ) : Boo.Lang.Compiler.CompilerWarning
ModifiersInLabelsHaveNoEffect ( Node node ) : Boo.Lang.Compiler.CompilerWarning
NamespaceNeverUsed ( Import node ) : Boo.Lang.Compiler.CompilerWarning
NewProtectedMemberInSealedType ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
Obsolete ( Node node, string memberName, string message ) : Boo.Lang.Compiler.CompilerWarning
OverridingFinalizeIsBadPractice ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
PrivateMemberNeverUsed ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
StaticClassMemberRedundantlyMarkedStatic ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
UnreachableCodeDetected ( Node node ) : Boo.Lang.Compiler.CompilerWarning
UnusedLocalVariable ( Node node, string name ) : Boo.Lang.Compiler.CompilerWarning

Private Methods

Méthode Description
CompilerWarningFactory ( ) : System
NodeTypeString ( Node node ) : string

Method Details

AbstractMemberNotImplemented() public static méthode

public static AbstractMemberNotImplemented ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
node Node
typeName string
memberName string
Résultat Boo.Lang.Compiler.CompilerWarning

AbstractMemberNotImplementedStubCreated() public static méthode

public static AbstractMemberNotImplementedStubCreated ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
node Node
typeName string
memberName string
Résultat Boo.Lang.Compiler.CompilerWarning

AssignmentToTemporary() public static méthode

public static AssignmentToTemporary ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
Résultat Boo.Lang.Compiler.CompilerWarning

CustomWarning() public static méthode

public static CustomWarning ( LexicalInfo lexicalInfo, string msg ) : Boo.Lang.Compiler.CompilerWarning
lexicalInfo LexicalInfo
msg string
Résultat Boo.Lang.Compiler.CompilerWarning

CustomWarning() public static méthode

public static CustomWarning ( string msg ) : Boo.Lang.Compiler.CompilerWarning
msg string
Résultat Boo.Lang.Compiler.CompilerWarning

DuplicateNamespace() public static méthode

public static DuplicateNamespace ( Import import, string name ) : Boo.Lang.Compiler.CompilerWarning
import Boo.Lang.Compiler.Ast.Import
name string
Résultat Boo.Lang.Compiler.CompilerWarning

EqualsInsteadOfAssign() public static méthode

public static EqualsInsteadOfAssign ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : Boo.Lang.Compiler.CompilerWarning
node Boo.Lang.Compiler.Ast.BinaryExpression
Résultat Boo.Lang.Compiler.CompilerWarning

HaveBothKeyFileAndAttribute() public static méthode

public static HaveBothKeyFileAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
Résultat Boo.Lang.Compiler.CompilerWarning

HaveBothKeyNameAndAttribute() public static méthode

public static HaveBothKeyNameAndAttribute ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
Résultat Boo.Lang.Compiler.CompilerWarning

InvalidEventUnsubscribe() public static méthode

public static InvalidEventUnsubscribe ( Node node, string eventName, CallableSignature expected ) : Boo.Lang.Compiler.CompilerWarning
node Node
eventName string
expected Boo.Lang.Compiler.TypeSystem.CallableSignature
Résultat Boo.Lang.Compiler.CompilerWarning

IsInsteadOfIsa() public static méthode

public static IsInsteadOfIsa ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
Résultat Boo.Lang.Compiler.CompilerWarning

ModifiersInLabelsHaveNoEffect() public static méthode

public static ModifiersInLabelsHaveNoEffect ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
Résultat Boo.Lang.Compiler.CompilerWarning

NamespaceNeverUsed() public static méthode

public static NamespaceNeverUsed ( Import node ) : Boo.Lang.Compiler.CompilerWarning
node Boo.Lang.Compiler.Ast.Import
Résultat Boo.Lang.Compiler.CompilerWarning

NewProtectedMemberInSealedType() public static méthode

public static NewProtectedMemberInSealedType ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
member Boo.Lang.Compiler.Ast.TypeMember
Résultat Boo.Lang.Compiler.CompilerWarning

Obsolete() public static méthode

public static Obsolete ( Node node, string memberName, string message ) : Boo.Lang.Compiler.CompilerWarning
node Node
memberName string
message string
Résultat Boo.Lang.Compiler.CompilerWarning

OverridingFinalizeIsBadPractice() public static méthode

public static OverridingFinalizeIsBadPractice ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
member Boo.Lang.Compiler.Ast.TypeMember
Résultat Boo.Lang.Compiler.CompilerWarning

PrivateMemberNeverUsed() public static méthode

public static PrivateMemberNeverUsed ( Boo.Lang.Compiler.Ast.TypeMember member ) : Boo.Lang.Compiler.CompilerWarning
member Boo.Lang.Compiler.Ast.TypeMember
Résultat Boo.Lang.Compiler.CompilerWarning

StaticClassMemberRedundantlyMarkedStatic() public static méthode

public static StaticClassMemberRedundantlyMarkedStatic ( Node node, string typeName, string memberName ) : Boo.Lang.Compiler.CompilerWarning
node Node
typeName string
memberName string
Résultat Boo.Lang.Compiler.CompilerWarning

UnreachableCodeDetected() public static méthode

public static UnreachableCodeDetected ( Node node ) : Boo.Lang.Compiler.CompilerWarning
node Node
Résultat Boo.Lang.Compiler.CompilerWarning

UnusedLocalVariable() public static méthode

public static UnusedLocalVariable ( Node node, string name ) : Boo.Lang.Compiler.CompilerWarning
node Node
name string
Résultat Boo.Lang.Compiler.CompilerWarning