summaryrefslogtreecommitdiff
path: root/vala/valasliceexpression.vala
Commit message (Collapse)AuthorAgeFilesLines
* vala: Set more missing source references of CodeNode instancesRico Tzschichholz2021-10-171-1/+1
|
* vala: Add support for null-safe access operatorJeremy Philippe2021-08-061-0/+10
| | | | | | | | | | | | | | | | This implements support for the "null-safe" operator of C# (also called "safe navigation" operator). var foo = bar?.foo; var foo = bar?.foo(); var foo = bar?[3]; var foo = bar?[1:2]; It applies to plain member access, method calls, element access and slice expressions (including void method calls, which are simply bypassed if the inner expression is null). Fixes https://gitlab.gnome.org/GNOME/vala/issues/522
* vala: SliceExpression need to return heap-allocated or unowned referencesUlrich Küttler2020-12-221-0/+7
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1120
* vala: Make use of new printf-like API of Report.*()Rico Tzschichholz2020-10-261-1/+1
|
* vala: Improve source documentationRico Tzschichholz2020-05-271-1/+3
|
* vala: Remove some public API from expressions and statementsRico Tzschichholz2020-03-241-1/+1
|
* vala: Micro optimizationsRico Tzschichholz2019-09-301-1/+1
|
* vala: More regular invocations of check() on inferred Expression.value_typeRico Tzschichholz2019-03-061-0/+1
|
* vala: Add ArrayType.length_type and ArrayCreationExpression.length_typeRico Tzschichholz2018-11-021-2/+3
| | | | https://gitlab.gnome.org/GNOME/vala/issues/607
* vala: Check accessibility of default argumentsSimon Werbeck2016-10-061-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=648030
* Set target_type for start and stop values of slice expressionsJürg Billeter2013-05-211-1/+6
| | | | | | This ensures type conversions are generated as needed. Fixes bug 698997.
* Enable flow analysis for out parametersLuca Bruno2011-07-151-2/+2
| | | | Fixes bug 638363.
* Replace SemanticAnalyzer with CodeContext in CodeNode.check parameterJürg Billeter2010-10-281-5/+5
|
* Use emit instead of accept and accept_children in code generatorJürg Billeter2010-08-101-1/+12
|
* Initial support for array slicesJürg Billeter2009-12-191-0/+177
Add support for slice expressions such as array[1:5] to retrieve a slice of length 4 starting at the second element of the array. Slice expressions are also supported for strings and other types that provide an appropriate slice method. Based on patch by Robin Sonefors, fixes bug 571352.