Esempio n. 1
0
		public FetchStatement(CursorPositionToken cursorPosition, CursorName cursorName, Sequence<VariableName> destinationVariables) {
			Debug.Assert(cursorPosition != null);
			Debug.Assert(cursorName != null);
			this.cursorPosition = cursorPosition;
			this.cursorName = cursorName;
			this.destinationVariables = destinationVariables.ToList();
		}
Esempio n. 2
0
		public OpenStatement(CursorName cursorName): base(cursorName) {}
		public DeclareCursorStatement(CursorName cursorName, CursorDefinition definition): base(definition.Global ? cursorName.AsGlobal() : cursorName) {
			this.definition = definition;
		}
Esempio n. 4
0
		public FetchStatement(CursorPositionToken cursorPosition, CursorName cursorName): this(cursorPosition, cursorName, null) {}
Esempio n. 5
0
		public CursorName(CursorName name): this(name.Value, true, true) {}
		public DeallocateStatement(CursorName cursorName): base(cursorName) {}
		protected CursorStatement(CursorName cursorName) {
			Debug.Assert(cursorName != null);
			this.cursorName = cursorName;
		}
Esempio n. 8
0
		public CloseStatement(CursorName cursorName): base(cursorName) {}