C# Class Antlr4.Runtime.Atn.ArrayPredictionContext

Inheritance: PredictionContext
Show file Open project: sharwell/antlr4cs Class Usage Examples

Public Methods

Method Description
AppendContext ( PredictionContext suffix, PredictionContextCache contextCache ) : PredictionContext
Equals ( object o ) : bool
FindReturnState ( int returnState ) : int
GetParent ( int index ) : PredictionContext
GetReturnState ( int index ) : int

Protected Methods

Method Description
AddEmptyContext ( ) : PredictionContext
RemoveEmptyContext ( ) : PredictionContext

Private Methods

Method Description
AppendContext ( PredictionContext context, PredictionContext suffix, PredictionContext visited ) : PredictionContext
ArrayPredictionContext ( PredictionContext parents, int returnStates ) : System
ArrayPredictionContext ( PredictionContext parents, int returnStates, int hashCode ) : System
Equals ( Antlr4 other, HashSet visited ) : bool

Method Details

AddEmptyContext() protected method

protected AddEmptyContext ( ) : PredictionContext
return PredictionContext

AppendContext() public method

public AppendContext ( PredictionContext suffix, PredictionContextCache contextCache ) : PredictionContext
suffix PredictionContext
contextCache PredictionContextCache
return PredictionContext

Equals() public method

public Equals ( object o ) : bool
o object
return bool

FindReturnState() public method

public FindReturnState ( int returnState ) : int
returnState int
return int

GetParent() public method

public GetParent ( int index ) : PredictionContext
index int
return PredictionContext

GetReturnState() public method

public GetReturnState ( int index ) : int
index int
return int

RemoveEmptyContext() protected method

protected RemoveEmptyContext ( ) : PredictionContext
return PredictionContext