using GLib;
/**
- * Represents an address-of expression in the source code, e.g. `&foo`.
+ * Represents an address-of expression.
+ *
+ * {{{ &foo }}}
*/
public class Vala.AddressofExpression : Expression {
/**
using GLib;
/**
- * Represents an array creation expression e.g. {{{ new int[] {1,2,3} }}}.
+ * Represents an array creation expression.
+ *
+ * {{{ new int[] { 1, 2, 3 } }}}
*/
public class Vala.ArrayCreationExpression : Expression {
/**
/**
- * Represents an access to base class members in the source code.
+ * Represents an access to base type member in the source code.
*/
public class Vala.BaseAccess : Expression {
/**
*/
/**
- * Represents a delete statement e.g. "delete a".
+ * Represents a delete statement.
+ *
+ * {{{ delete foo; }}}
*/
public class Vala.DeleteStatement : CodeNode, Statement {
/**
using GLib;
/**
- * Represents an array access expression e.g. "a[1,2]".
+ * Represents an array access expression.
+ *
+ * {{{ foo[1,2] }}}
*/
public class Vala.ElementAccess : Expression {
/**
using GLib;
/**
- * Represents an enum member in the source code.
+ * Represents an enum value member in the source code.
*/
public class Vala.EnumValue : Constant {
/**
using GLib;
/**
- * Represents an enum member in the source code.
+ * Represents an error value member in the source code.
*/
public class Vala.ErrorCode : TypeSymbol {
/**
/**
- * Represents a foreach statement in the source code. Foreach statements iterate
- * over the elements of a collection.
+ * Represents a foreach statement in the source code.
+ *
+ * Foreach statements iterate over the elements of a collection.
*/
public class Vala.ForeachStatement : Block {
/**
using GLib;
/**
- * Represents a class declaration in the source code.
+ * Represents an interface declaration in the source code.
*/
public class Vala.Interface : ObjectTypeSymbol {
private List<DataType> prerequisites = new ArrayList<DataType> ();
using GLib;
/**
- * Represents a lambda expression in the source code. Lambda expressions are
- * anonymous methods with implicitly typed parameters.
+ * Represents a lambda expression in the source code.
+ *
+ * Lambda expressions are anonymous methods with implicitly typed parameters.
*/
public class Vala.LambdaExpression : Expression {
private static int next_lambda_id = 0;
using GLib;
/**
- * Represents a lock statement e.g. {{{ lock (a); }}} or {{{ lock (a) { f(a); } }}}.
+ * Represents a lock statement.
*
- * If the statement is empty, the mutex remains locked until a corresponding UnlockStatement
- * occurs. Otherwise it's translated into a try/finally statement which unlocks the mutex
- * after the block is finished.
+ * {{{ lock (foo); }}} or {{{ lock (foo) { ... } }}}
+ *
+ * If the statement is empty, the mutex remains locked until a corresponding
+ * {@link Vala.UnlockStatement} occurs. Otherwise it's translated into a
+ * try/finally statement which unlocks the mutex after the block is finished.
*/
public class Vala.LockStatement : CodeNode, Statement {
/**
/**
- * Represents a pointer indirection in the source code, e.g. `*pointer`.
+ * Represents a pointer indirection.
+ *
+ * {{{ *foo }}}
*/
public class Vala.PointerIndirection : Expression {
/**
/**
- * Represents a reference transfer expression in the source code, e.g. `#foo`.
+ * Represents a reference transfer expression.
+ *
+ * {{{ (owned) foo }}}
*/
public class Vala.ReferenceTransferExpression : Expression {
/**
using GLib;
/**
- * Represents an array slice expression e.g "a[1:5]".
+ * Represents an array slice expression.
+ *
+ * {{{ foo[1:5] }}}
*/
public class Vala.SliceExpression : Expression {
public Expression container {
*/
/**
- * Represents an unlock statement e.g. {{{ unlock (a); }}}.
+ * Represents an unlock statement.
+ *
+ * {{{ unlock (foo); }}}
*/
public class Vala.UnlockStatement : CodeNode, Statement {
/**
/**
* Creates a new yield statement.
*
- * @param yield_expression the yield expression
* @param source_reference reference to source code
* @return newly created yield statement
*/