if (!updateVariableFromList(right, definition.getOutputs())) { throw new MatParseException(right.getName() + " is not an output variable of " + definition.getName(), statement);
final String expression = mapping.getRightExpression(); if (!updateVariableFromList(left, definition.getInputs())) { throw new MatParseException(left.getName() + " is not an input variable of " + definition.getName(), statement); } else if (left.getType().startsWith("sampler") && (right == null || !right.getNameSpace().equals(ShaderGenerator.NAME_SPACE_MAT_PARAM))) {
if (!updateVariableFromList(right, shaderNode.getDefinition().getOutputs())) { throw new MatParseException(right.getName() + " is not an output variable of " + shaderNode.getDefinition().getName(), statement1);
if (!updateVariableFromList(left, shaderNode.getDefinition().getInputs())) { throw new MatParseException(left.getName() + " is not an input variable of " + shaderNode.getDefinition().getName(), statement1);