C# Class Boo.Lang.Compiler.Steps.ConstantFolding

Inheritance: Boo.Lang.Compiler.Steps.AbstractTransformerCompilerStep
Afficher le fichier Open project: Unity-Technologies/boo

Méthodes publiques

Méthode Description
LeaveBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
LeaveEnumMember ( EnumMember node ) : void
LeaveUnaryExpression ( UnaryExpression node ) : void
OnModule ( Module node ) : void
Run ( ) : void

Private Methods

Méthode Description
GetFoldedBoolLiteral ( BinaryOperatorType @operator, bool lhs, bool rhs ) : BoolLiteralExpression
GetFoldedDoubleLiteral ( BinaryOperatorType @operator, double lhs, double rhs ) : LiteralExpression
GetFoldedDoubleLiteral ( UnaryOperatorType @operator, double operand ) : LiteralExpression
GetFoldedIntegerLiteral ( BinaryOperatorType @operator, long lhs, long rhs ) : LiteralExpression
GetFoldedIntegerLiteral ( BinaryOperatorType @operator, ulong lhs, ulong rhs ) : LiteralExpression
GetFoldedIntegerLiteral ( UnaryOperatorType @operator, long operand ) : LiteralExpression
GetLiteralValue ( Expression node ) : object

Method Details

LeaveBinaryExpression() public méthode

public LeaveBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
Résultat void

LeaveEnumMember() public méthode

public LeaveEnumMember ( EnumMember node ) : void
node Boo.Lang.Compiler.Ast.EnumMember
Résultat void

LeaveUnaryExpression() public méthode

public LeaveUnaryExpression ( UnaryExpression node ) : void
node Boo.Lang.Compiler.Ast.UnaryExpression
Résultat void

OnModule() public méthode

public OnModule ( Module node ) : void
node Boo.Lang.Compiler.Ast.Module
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void