blob: 45048ebe514e3a76f73759fe250ac40e0101acae [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<!--
/********************************************************************************
** Copyright (c) 2015 Obeo.
** All rights reserved. This program and the accompanying materials
** are made available under the terms of the Eclipse Public License v1.0
** which accompanies this distribution, and is available at
** http://www.eclipse.org/legal/epl-v10.html
**
** Contributors:
** Stephane Begaudeau (Obeo) - initial API and implementation
*********************************************************************************/
-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="St&eacute;phane B&eacute;gaudeau">
<!-- IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="../assets/css/bootstrap.css" rel="stylesheet">
<link href="../assets/css/docs.css" rel="stylesheet">
<title>Acceleo</title>
</head>
<body>
<div class="container">
<header class="jumbotron subhead" id="overview">
<h1>Acceleo Query Language Documentation</h1>
<!--<div class="subnav">
<ul class="nav nav-pills">
<li><a href="#introduction">Introduction</a></li>
<li><a href="#language">Language</a></li>
<li><a href="#operations">Operations</a></li>
<li><a href="#standalone">Stand Alone</a></li>
<li><a href="#migration">Migration</a></li>
<li><a href="#textproductionrules">Text Production Rules</a></li>
<li><a href="#onlineresources">Online Resources</a></li>
</ul>
</div>-->
</header>
<section id="services">
<div class="page-header">
<h1>Services available for Booleans</h1>
</div>
<h3>and(op1: java.lang.Boolean, op2: java.lang.Boolean) = Boolean</h3>
<p>
Logical and.
</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Expression</th>
<th>Result</th>
</tr>
</thead><colgroup><col width="60%" /><col width="40%" /></colgroup>
<tbody>
<tr>
<td>true and false</td>
<td>false</td>
</tr>
<tr>
<td>false and true</td>
<td>false</td>
</tr>
<tr>
<td>true and true</td>
<td>true</td>
</tr>
<tr>
<td>false and false</td>
<td>false</td>
</tr>
</tbody>
</table>
<p>
</p>
<hr />
<h3>implies(op1: java.lang.Boolean, op2: java.lang.Boolean) = Boolean</h3>
<p>
Logical implies.
</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Expression</th>
<th>Result</th>
</tr>
</thead><colgroup><col width="60%" /><col width="40%" /></colgroup>
<tbody>
<tr>
<td>true implies true</td>
<td>true</td>
</tr>
<tr>
<td>true implies false</td>
<td>false</td>
</tr>
<tr>
<td>false implies true</td>
<td>true</td>
</tr>
<tr>
<td>false implies false</td>
<td>true</td>
</tr>
</tbody>
</table>
<p>
</p>
<hr />
<h3>not(op1: java.lang.Boolean) = Boolean</h3>
<p>
Logical negation.
</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Expression</th>
<th>Result</th>
</tr>
</thead><colgroup><col width="60%" /><col width="40%" /></colgroup>
<tbody>
<tr>
<td>not true</td>
<td>false</td>
</tr>
<tr>
<td>not false</td>
<td>true</td>
</tr>
</tbody>
</table>
<p>
</p>
<hr />
<h3>or(op1: java.lang.Boolean, op2: java.lang.Boolean) = Boolean</h3>
<p>
Logical or.
</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Expression</th>
<th>Result</th>
</tr>
</thead><colgroup><col width="60%" /><col width="40%" /></colgroup>
<tbody>
<tr>
<td>true or false</td>
<td>true</td>
</tr>
<tr>
<td>false or true</td>
<td>true</td>
</tr>
<tr>
<td>true or true</td>
<td>true</td>
</tr>
<tr>
<td>false or false</td>
<td>false</td>
</tr>
</tbody>
</table>
<p>
</p>
<hr />
<h3>xor(op1: java.lang.Boolean, op2: java.lang.Boolean) = Boolean</h3>
<p>
Logical xor.
</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Expression</th>
<th>Result</th>
</tr>
</thead><colgroup><col width="60%" /><col width="40%" /></colgroup>
<tbody>
<tr>
<td>true xor true</td>
<td>false</td>
</tr>
<tr>
<td>true xor false</td>
<td>true</td>
</tr>
<tr>
<td>false xor true</td>
<td>true</td>
</tr>
<tr>
<td>false xor false</td>
<td>false</td>
</tr>
</tbody>
</table>
<p>
</p>
<hr />
</section>
</div>
</body>
</html>