Esempio n. 1
0
		private void CompileNullConstant(Parser parser, ByteBuffer buffer, NullConstant nullConstant, bool outputUsed)
		{
			if (!outputUsed) throw new ParserException(nullConstant.FirstToken, "This expression doesn't do anything.");

			buffer.Add(nullConstant.FirstToken, OpCode.LITERAL, parser.GetNullConstant());
		}
Esempio n. 2
0
		protected override void TranslateNullConstant(List<string> output, NullConstant nullConstant)
		{
			output.Add("NULL");
		}
Esempio n. 3
0
		protected abstract void TranslateNullConstant(List<string> output, NullConstant nullConstant);