Implemented syntax highlighting for consequent part.
This commit is contained in:
@@ -96,6 +96,16 @@ ColorStream &operator<<(ColorStream &stream, const Clingo::AST::Sign &sign)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ColorStream &operator<<(ColorStream &stream, const Clingo::AST::Boolean &boolean)
|
||||
{
|
||||
if (boolean.value == true)
|
||||
return (stream << Boolean("#true"));
|
||||
|
||||
return (stream << Boolean("#false"));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ColorStream &operator<<(ColorStream &stream, const Clingo::AST::Variable &variable)
|
||||
{
|
||||
return (stream << Variable(variable.name));
|
||||
|
Reference in New Issue
Block a user