C# Class Reko.Typing.ArrayExpressionMatcher

Matches and picks apart component of an array access expression.
Mostra file Open project: uxmal/reko Class Usage Examples

Public Methods

Method Description
ArrayExpressionMatcher ( PrimitiveType dtPointer ) : Reko.Core.Expressions
Match ( Expression e ) : bool
MatchMul ( BinaryExpression b ) : bool
Transform ( Expression baseptr, DataType dtAccess ) : Expression

Method Details

ArrayExpressionMatcher() public method

public ArrayExpressionMatcher ( PrimitiveType dtPointer ) : Reko.Core.Expressions
dtPointer PrimitiveType
return Reko.Core.Expressions

Match() public method

public Match ( Expression e ) : bool
e Expression
return bool

MatchMul() public method

public MatchMul ( BinaryExpression b ) : bool
b BinaryExpression
return bool

Transform() public method

public Transform ( Expression baseptr, DataType dtAccess ) : Expression
baseptr Expression
dtAccess DataType
return Expression