The "Unknown:"s below indicate that an entry is incomplete.
-lt -gt -le -ge | comparison |
measure-object -min / measure-object -max | comparison (min / max (binary or more)) |
( ... ) | grouping expressions |
Unknown:
commenting
documentation comment
information about the current line and file
tokens (case-sensitivity (keywords, variable identifiers...))
tokens (what is the standard way for scrunching together multiple words)
tokens (variable identifier regexp)
breaking lines (useful when end-of-line and/or indentation has a special meaning)
variable assignment or declaration
block (grouping statements, especially when statements are not expressions)
equality / inequality
comparison (returns 3 values (i.e. inferior, equal or superior))
runtime evaluation
force garbage collection
{ param(para1, [typ2]para2, ...) ... } | anonymous function |
f a b ... | function call |
f | function call (with no parameter) |
function f { param(para1, [typ2]para2, ...) ... } | function definition |
Unknown:
function return value
function called when a function is not defined (in dynamic languages)
runtime inspecting the caller information
for | loop (for "a la C" (while + initialisation)) |
foreach ($i in 1..10) { ... } | loop (for each value in a numeric range, 1 increment (see also the entries about ranges)) |
switch (val) { v1 { ... } v2 { ... } default { ... } } | multiple selection (switch) |
Unknown:
sequence
if_then
if_then_else
loop (forever loop)
loop (while condition do something)
loop (do something until condition)
loop (for each value in a numeric range, 1 decrement)
loop (for each value in a numeric range, free increment)
breaking control flow (returning a value)
breaking control flow (goto (unconditional jump))
breaking control flow (continue / break)
exception (throwing)
exception (catching)
[t] e | cast (computed conversion (calls an internal or a user-defined function)) |
object.method(para) | method invocation |
get-member | methods available |
Unknown:
method invocation (with no parameter)
object creation
object cloning
manually call an object's destructor
class declaration
testing class membership
get the type/class corresponding to an object/instance/value
inheritance
has the method
current instance
accessing parent method
Unknown:
package scope
declare
import
export-clixml | serialize (marshalling) |
+ | string concatenation |
import-clixml | unserialize (un-marshalling) |
Unknown:
character "z"
strings (with no interpolation of variables)
strings (with interpolation of variables)
strings (end-of-line (without writing the real CR or LF character))
multi-line
convert something to a string (see also string interpolation)
sprintf-like
simple print
string equality & inequality
string size
duplicate n times
upper / lower case character
uppercase / lowercase / capitalized string
ascii to character
character to ascii
accessing n-th character
extract a substring
locate a substring
locate a substring (starting at the end)
Unknown:
false value
true value
logical not
logical or / and
foreach ($v in l) ... | for each element do something |
where | keep elements (matching) |
a[i] | list/array indexing |
sort-object | sort |
foreach or selected | transform a list (or bag) in another one |
Unknown:
list concatenation
list flattening
list constructor
adding an element at the beginning (list cons)
adding an element at index
adding an element at the end
first element
all but the first element
last element
get the first element and remove it
get the last element and remove it
transform two lists in parallel
find an element
is an element in the list
is the predicate true for an element
is the predicate true for every element
smallest / biggest element
join a list of strings in a string using a glue string
list size
iterate with index
remove duplicates
reverse
f(... f(f(init, e1), e2) ..., en)
h[k] | dictionary (access: read/write) |
@{ a = b; c = d } | dictionary (constructor) |
keys | dictionary (list of keys) |
a .. b | range (inclusive .. inclusive) |
Unknown:
tuple constructor
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (empty tuple)
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (1-uple)
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (using a tuple for a function call)
reference (pointer) (creation)
reference (pointer) (dereference)
optional value (null value)
optional value (value)
optional value (null coalescing)
record (selector)
dictionary (has the key ?)
dictionary (remove by key)
dictionary (list of values)
dictionary (merge)
Unknown:
numbers syntax (integers)
numbers syntax (integers in base 2, octal and hexadecimal)
numbers syntax (floating point)
addition / subtraction / multiplication / division
exponentiation (power)
negation
random (random number)
random (seed the pseudo random generator)
operator priorities and associativities
square root / e-exponential / absolute value
trigonometry (basic)
trigonometry (inverse)
logarithm (base e)
logarithm (base 10)
modulo
truncate / round / floor / ceil
bitwise operators