/** * INTERNAL * Validate the current node and calculates its type. */ public void validate(ParseTreeContext context) { TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getCharType()); } setType(getType()); }
/** * INTERNAL * Validate the current node and calculates its type. */ public void validate(ParseTreeContext context) { TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getCharType()); } setType(getType()); }
/** * INTERNAL * Validate the current node and calculates its type. */ public void validate(ParseTreeContext context) { TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getCharType()); } setType(getType()); }
/** * INTERNAL * Validate node and calculate its type. */ public void validate(ParseTreeContext context) { TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getStringType()); } if (trimChar != null) { trimChar.validate(context); trimChar.validateParameter(context, typeHelper.getCharType()); } setType(typeHelper.getStringType()); }
/** * INTERNAL * Validate node and calculate its type. */ public void validate(ParseTreeContext context) { TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getStringType()); } if (trimChar != null) { trimChar.validate(context); trimChar.validateParameter(context, typeHelper.getCharType()); } setType(typeHelper.getStringType()); }
/** * INTERNAL * Validate node and calculate its type. */ public void validate(ParseTreeContext context) { TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getStringType()); } if (trimChar != null) { trimChar.validate(context); trimChar.validateParameter(context, typeHelper.getCharType()); } setType(typeHelper.getStringType()); }