Ejemplo n.º 1
0
 public BulletinService()
 {
     _assignmentContext = new AssignmentContext();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// build the XPTNode of an assignment context statement 
 /// </summary>
 /// <param name="ctx"></param>
 /// <returns></returns>
 public bool BuildXPTNode(AssignmentContext ctx)
 {
     return true;
 }
Ejemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="_assignmentContext"></param>
 /// <param name="config"></param>
 public HelperClass(AssignmentContext _assignmentContext, IConfiguration config)
 {
     _config           = config;
     assignmentContext = _assignmentContext;
 }
Ejemplo n.º 4
0
	public Expr_or_assignContext expr_or_assign() {
		Expr_or_assignContext _localctx = new Expr_or_assignContext(Context, State);
		EnterRule(_localctx, 2, RULE_expr_or_assign);
		int _la;
		try {
			State = 32;
			switch ( Interpreter.AdaptivePredict(TokenStream,2,Context) ) {
			case 1:
				_localctx = new AssignmentContext(_localctx);
				EnterOuterAlt(_localctx, 1);
				{
				State = 27; expr(0);
				State = 28;
				_la = TokenStream.La(1);
				if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__1) | (1L << T__2) | (1L << T__3))) != 0)) ) {
				ErrorHandler.RecoverInline(this);
				}
				else {
				    Consume();
				}
				State = 29; expr_or_assign();
				}
				break;
			case 2:
				_localctx = new ExpressionStatementContext(_localctx);
				EnterOuterAlt(_localctx, 2);
				{
				State = 31; expr(0);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}
Ejemplo n.º 5
0
 public StudentsController(AssignmentContext context)
 {
     _context = context;
 }
Ejemplo n.º 6
0
 public HelperClass(AssignmentContext _assignmentContext)
 {
     assignmentContext = _assignmentContext;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// build the XPTNode of an assignment context statement
 /// </summary>
 /// <param name="ctx"></param>
 /// <returns></returns>
 public bool BuildXPTNode(AssignmentContext ctx)
 {
     return(true);
 }
Ejemplo n.º 8
0
 // Primary contructor.
 public AssignmentController(AssignmentContext ctx)
 {
     context = ctx;
 }
 public BaseRepository(AssignmentContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }