ShiftDefinition Method
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSubShiftDefinition ( _
currentParseAsParseState, _
definitionIdAsInteger, _
productionIdAsInteger, _
rightmostAsGlrState, _
tokensAsList(OfParseToken), _
syncStateAsGlrState, _
beginAsSourcePoint, _
endAsSourcePoint, _
forkNeededAsBoolean, _
<OutAttribute> ByRefreductionPossibleAsBoolean _
)
'Usage
DiminstanceAsGlrStateDimcurrentParseAsParseStateDimdefinitionIdAsIntegerDimproductionIdAsIntegerDimrightmostAsGlrStateDimtokensAsList(OfParseToken)
DimsyncStateAsGlrStateDimbeginAsSourcePointDimendAsSourcePointDimforkNeededAsBooleanDimreductionPossibleAsBoolean
instance.ShiftDefinition(currentParse, _
definitionId, productionId, rightmost, _
tokens, syncState, begin, end, forkNeeded, _
reductionPossible)
publicvoidShiftDefinition(
ParseStatecurrentParse,
intdefinitionId,
intproductionId,
GlrStaterightmost,
List<ParseToken> tokens,
GlrStatesyncState,
SourcePointbegin,
SourcePointend,
boolforkNeeded,
outboolreductionPossible
)
public:
voidShiftDefinition(
ParseState^ currentParse,
intdefinitionId,
intproductionId,
GlrState^ rightmost,
List<ParseToken^>^ tokens,
GlrState^ syncState,
SourcePointbegin,
SourcePointend,
boolforkNeeded,
[OutAttribute] bool% reductionPossible
)
publicfunctionShiftDefinition(
currentParse : ParseState,
definitionId : int,
productionId : int,
rightmost : GlrState,
tokens : List<ParseToken>,
syncState : GlrState,
begin : SourcePoint,
end : SourcePoint,
forkNeeded : boolean,
reductionPossible : boolean
)
Parameters
- currentParse
Type: System.Dataflow. . :: . .ParseState
- definitionId
Type: System. . :: . .Int32
- productionId
Type: System. . :: . .Int32
- rightmost
Type: System.Dataflow. . :: . .GlrState
- tokens
Type: System.Collections.Generic. . :: . .List< (Of < ( <'ParseToken> ) > ) >
- syncState
Type: System.Dataflow. . :: . .GlrState
- begin
Type: System.Dataflow. . :: . .SourcePoint
- end
Type: System.Dataflow. . :: . .SourcePoint
- forkNeeded
Type: System. . :: . .Boolean
- reductionPossible
Type: System. . :: . .Boolean%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).