github.com/nevalang/neva@v0.23.1-0.20240507185603-7696a9bb8dda/internal/compiler/parser/smoke_test/mocks_test.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: smoke_test.go
     3  
     4  // Package frontend_test is a generated GoMock package.
     5  package smoke_test
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	antlr "github.com/antlr4-go/antlr/v4"
    11  	gomock "github.com/golang/mock/gomock"
    12  )
    13  
    14  // MockMyErrorListener is a mock of MyErrorListener interface.
    15  type MockMyErrorListener struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockMyErrorListenerMockRecorder
    18  }
    19  
    20  // MockMyErrorListenerMockRecorder is the mock recorder for MockMyErrorListener.
    21  type MockMyErrorListenerMockRecorder struct {
    22  	mock *MockMyErrorListener
    23  }
    24  
    25  // NewMockMyErrorListener creates a new mock instance.
    26  func NewMockMyErrorListener(ctrl *gomock.Controller) *MockMyErrorListener {
    27  	mock := &MockMyErrorListener{ctrl: ctrl}
    28  	mock.recorder = &MockMyErrorListenerMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockMyErrorListener) EXPECT() *MockMyErrorListenerMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // ReportAmbiguity mocks base method.
    38  func (m *MockMyErrorListener) ReportAmbiguity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, exact bool, ambigAlts *antlr.BitSet, configs *antlr.ATNConfigSet) {
    39  	m.ctrl.T.Helper()
    40  	m.ctrl.Call(m, "ReportAmbiguity", recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs)
    41  }
    42  
    43  // ReportAmbiguity indicates an expected call of ReportAmbiguity.
    44  func (mr *MockMyErrorListenerMockRecorder) ReportAmbiguity(recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs interface{}) *gomock.Call {
    45  	mr.mock.ctrl.T.Helper()
    46  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReportAmbiguity", reflect.TypeOf((*MockMyErrorListener)(nil).ReportAmbiguity), recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs)
    47  }
    48  
    49  // ReportAttemptingFullContext mocks base method.
    50  func (m *MockMyErrorListener) ReportAttemptingFullContext(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex int, conflictingAlts *antlr.BitSet, configs *antlr.ATNConfigSet) {
    51  	m.ctrl.T.Helper()
    52  	m.ctrl.Call(m, "ReportAttemptingFullContext", recognizer, dfa, startIndex, stopIndex, conflictingAlts, configs)
    53  }
    54  
    55  // ReportAttemptingFullContext indicates an expected call of ReportAttemptingFullContext.
    56  func (mr *MockMyErrorListenerMockRecorder) ReportAttemptingFullContext(recognizer, dfa, startIndex, stopIndex, conflictingAlts, configs interface{}) *gomock.Call {
    57  	mr.mock.ctrl.T.Helper()
    58  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReportAttemptingFullContext", reflect.TypeOf((*MockMyErrorListener)(nil).ReportAttemptingFullContext), recognizer, dfa, startIndex, stopIndex, conflictingAlts, configs)
    59  }
    60  
    61  // ReportContextSensitivity mocks base method.
    62  func (m *MockMyErrorListener) ReportContextSensitivity(recognizer antlr.Parser, dfa *antlr.DFA, startIndex, stopIndex, prediction int, configs *antlr.ATNConfigSet) {
    63  	m.ctrl.T.Helper()
    64  	m.ctrl.Call(m, "ReportContextSensitivity", recognizer, dfa, startIndex, stopIndex, prediction, configs)
    65  }
    66  
    67  // ReportContextSensitivity indicates an expected call of ReportContextSensitivity.
    68  func (mr *MockMyErrorListenerMockRecorder) ReportContextSensitivity(recognizer, dfa, startIndex, stopIndex, prediction, configs interface{}) *gomock.Call {
    69  	mr.mock.ctrl.T.Helper()
    70  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReportContextSensitivity", reflect.TypeOf((*MockMyErrorListener)(nil).ReportContextSensitivity), recognizer, dfa, startIndex, stopIndex, prediction, configs)
    71  }
    72  
    73  // SyntaxError mocks base method.
    74  func (m *MockMyErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException) {
    75  	m.ctrl.T.Helper()
    76  	m.ctrl.Call(m, "SyntaxError", recognizer, offendingSymbol, line, column, msg, e)
    77  }
    78  
    79  // SyntaxError indicates an expected call of SyntaxError.
    80  func (mr *MockMyErrorListenerMockRecorder) SyntaxError(recognizer, offendingSymbol, line, column, msg, e interface{}) *gomock.Call {
    81  	mr.mock.ctrl.T.Helper()
    82  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyntaxError", reflect.TypeOf((*MockMyErrorListener)(nil).SyntaxError), recognizer, offendingSymbol, line, column, msg, e)
    83  }