Свойство | Тип | Описание | |
---|---|---|---|
GetWrites | IEnumerable |
||
LoopContract | System.Collections.Generic |
Метод | Описание | |
---|---|---|
Dispatch ( ICodeAndContractVisitor visitor ) : void |
Calls visitor.Visit(ILoopInvariant).
|
|
LoopContract ( IEnumerable |
Allocates a collection of collections of objects that describe a loop.
|
|
LoopContract ( IEnumerable |
Allocates a collection of collections of objects that describe a loop.
|
|
MakeCopyFor ( BlockStatement containingBlock ) : LoopContract |
Makes a copy of this contract, changing the containing block to the given block.
|
|
SetContainingBlock ( BlockStatement containingBlock ) : void |
Completes the two stage construction of this object. This allows bottom up parsers to construct an Expression before constructing the containing Expression. This method should be called once only and must be called before this object is made available to client code. The construction code itself should also take care not to call any other methods or property/event accessors on the object until after this method has been called.
|
Метод | Описание | |
---|---|---|
CheckForErrorsAndReturnTrueIfAnyAreFound ( ) : bool |
Checks for errors and return true if any are found.
|
Метод | Описание | |
---|---|---|
GetWrites ( ) : IEnumerable |
||
LoopContract ( LoopContract template ) : System.Collections.Generic |
A copy constructor that allocates an instance that is the same as the given template.
|
protected CheckForErrorsAndReturnTrueIfAnyAreFound ( ) : bool | ||
Результат | bool |
public Dispatch ( ICodeAndContractVisitor visitor ) : void | ||
visitor | ICodeAndContractVisitor | |
Результат | void |
public LoopContract ( IEnumerable |
||
invariants | IEnumerable |
A possibly empty or null list of loop invariants. |
writes | IEnumerable |
A possibly empty list of expressions that each represents a set of memory locations that may be written to by the body of the loop. |
Результат | System.Collections.Generic |
public LoopContract ( IEnumerable |
||
invariants | IEnumerable |
A possibly empty or null list of loop invariants. |
writes | IEnumerable |
A possibly empty list of expressions that each represents a set of memory locations that may be written to by the body of the loop. |
variants | IEnumerable |
A possibly empty list or null list of loop variants. |
Результат | System.Collections.Generic |
public MakeCopyFor ( BlockStatement containingBlock ) : LoopContract | ||
containingBlock | BlockStatement | |
Результат | LoopContract |
public SetContainingBlock ( BlockStatement containingBlock ) : void | ||
containingBlock | BlockStatement | |
Результат | void |