private BfsExpression ConvertExpression(PegNode node) { BfsExpression exp = new BfsExpression(); exp.ExpressionGroup = new BfsExpGroup(); exp.SourceRange = GetSourceRange(node); exp.ExpressionGroup.SourceRange = exp.SourceRange; ConvertExpNodes(exp.ExpressionGroup, node); return exp; }
private void CheckExpression(BfsExpression expression, IBfsDataBlock block) { CheckGroup(expression.ExpressionGroup, block); //BfsCompiler.ReportWarning(expression.ExpressionGroup.SourceRange, expression.ToString() + ": " + expression.PrimitiveType); }