SynExpr Type
Represents a syntax tree for F# expressions
Union cases
Union case | Description |
|
|
Full Usage:
AnonRecd(isStruct, copyInfo, recordFields, range, trivia)
Parameters:
bool
copyInfo : (SynExpr * BlockSeparator) option
recordFields : (SynLongIdent * range option * SynExpr) list
range : range
trivia : SynExprAnonRecdTrivia
|
|
Full Usage:
App(flag, isInfix, funcExpr, argExpr, range)
Parameters:
ExprAtomicFlag
isInfix : bool
funcExpr : SynExpr
argExpr : SynExpr
range : range
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
DebugPoint(debugPoint, isControlFlow, innerExpr)
Parameters:
DebugPointAtLeafExpr
isControlFlow : bool
innerExpr : SynExpr
|
|
|
|
|
|
Full Usage:
DotGet(expr, rangeOfDot, longDotId, range)
Parameters:
SynExpr
rangeOfDot : range
longDotId : SynLongIdent
range : range
|
|
|
|
Full Usage:
DotLambda(expr, range, trivia)
Parameters:
SynExpr
range : range
trivia : SynExprDotLambdaTrivia
|
|
Full Usage:
DotNamedIndexedPropertySet(targetExpr, longDotId, argExpr, rhsExpr, range)
Parameters:
SynExpr
longDotId : SynLongIdent
argExpr : SynExpr
rhsExpr : SynExpr
range : range
|
|
Full Usage:
DotSet(targetExpr, longDotId, rhsExpr, range)
Parameters:
SynExpr
longDotId : SynLongIdent
rhsExpr : SynExpr
range : range
|
|
|
|
|
|
|
|
Full Usage:
For(forDebugPoint, toDebugPoint, ident, equalsRange, identBody, direction, toBody, doBody, range)
Parameters:
DebugPointAtFor
toDebugPoint : DebugPointAtInOrTo
ident : Ident
equalsRange : range option
identBody : SynExpr
direction : bool
toBody : SynExpr
doBody : SynExpr
range : range
|
|
Full Usage:
ForEach(forDebugPoint, inDebugPoint, seqExprOnly, isFromSource, pat, enumExpr, bodyExpr, range)
Parameters:
DebugPointAtFor
inDebugPoint : DebugPointAtInOrTo
seqExprOnly : SeqExprOnly
isFromSource : bool
pat : SynPat
enumExpr : SynExpr
bodyExpr : SynExpr
range : range
|
|
|
|
|
|
Full Usage:
IfThenElse(ifExpr, thenExpr, elseExpr, spIfToThen, isFromErrorRecovery, range, trivia)
Parameters:
SynExpr
thenExpr : SynExpr
elseExpr : SynExpr option
spIfToThen : DebugPointAtBinding
isFromErrorRecovery : bool
range : range
trivia : SynExprIfThenElseTrivia
|
|
|
|
|
|
|
|
|
|
Full Usage:
InterpolatedString(contents, synStringKind, range)
Parameters:
SynInterpolatedStringPart list
synStringKind : SynStringKind
range : range
|
|
|
|
Full Usage:
Lambda(fromMethod, inLambdaSeq, args, body, parsedData, range, trivia)
Parameters:
bool
inLambdaSeq : bool
args : SynSimplePats
body : SynExpr
parsedData : (SynPat list * SynExpr) option
range : range
trivia : SynExprLambdaTrivia
|
First bool indicates if lambda originates from a method. Patterns here are always "simple" Second bool indicates if this is a "later" part of an iterated sequence of lambdas parsedData keeps original parsed patterns and expression, prior to transforming to "simple" patterns and iterated lambdas F# syntax: fun pat -> expr
|
|
|
Full Usage:
LetOrUse(isRecursive, isUse, bindings, body, range, trivia)
Parameters:
bool
isUse : bool
bindings : SynBinding list
body : SynExpr
range : range
trivia : SynExprLetOrUseTrivia
|
|
Full Usage:
LetOrUseBang(bindDebugPoint, isUse, isFromSource, pat, rhs, andBangs, body, range, trivia)
Parameters:
DebugPointAtBinding
isUse : bool
isFromSource : bool
pat : SynPat
rhs : SynExpr
andBangs : SynExprAndBang list
body : SynExpr
range : range
trivia : SynExprLetOrUseBangTrivia
|
|
|
|
Full Usage:
LibraryOnlyStaticOptimization(constraints, expr, optimizedExpr, range)
Parameters:
SynStaticOptimizationConstraint list
expr : SynExpr
optimizedExpr : SynExpr
range : range
|
|
|
|
Full Usage:
LongIdent(isOptional, longDotId, altNameRefCell, range)
Parameters:
bool
longDotId : SynLongIdent
altNameRefCell : SynSimplePatAlternativeIdInfo ref option
range : range
|
|
Full Usage:
LongIdentSet(longDotId, expr, range)
Parameters:
SynLongIdent
expr : SynExpr
range : range
|
|
Full Usage:
Match(matchDebugPoint, expr, clauses, range, trivia)
Parameters:
DebugPointAtBinding
expr : SynExpr
clauses : SynMatchClause list
range : range
trivia : SynExprMatchTrivia
|
|
Full Usage:
MatchBang(matchDebugPoint, expr, clauses, range, trivia)
Parameters:
DebugPointAtBinding
expr : SynExpr
clauses : SynMatchClause list
range : range
trivia : SynExprMatchBangTrivia
|
|
Full Usage:
MatchLambda(isExnMatch, keywordRange, matchClauses, matchDebugPoint, range)
Parameters:
bool
keywordRange : range
matchClauses : SynMatchClause list
matchDebugPoint : DebugPointAtBinding
range : range
|
|
Full Usage:
NamedIndexedPropertySet(longDotId, expr1, expr2, range)
Parameters:
SynLongIdent
expr1 : SynExpr
expr2 : SynExpr
range : range
|
|
|
|
|
|
Full Usage:
ObjExpr(objType, argOptions, withKeyword, bindings, members, extraImpls, newExprRange, range)
Parameters:
SynType
argOptions : (SynExpr * Ident option) option
withKeyword : range option
bindings : SynBinding list
members : SynMemberDefns
extraImpls : SynInterfaceImpl list
newExprRange : range
range : range
|
|
|
|
Full Usage:
Record(baseInfo, copyInfo, recordFields, range)
Parameters:
(SynType * SynExpr * range * BlockSeparator option * range) option
copyInfo : (SynExpr * BlockSeparator) option
recordFields : SynExprRecordField list
range : range
|
|
Full Usage:
Sequential(debugPoint, isTrueSeq, expr1, expr2, range, trivia)
Parameters:
DebugPointAtSequential
isTrueSeq : bool
expr1 : SynExpr
expr2 : SynExpr
range : range
trivia : SynExprSequentialTrivia
|
|
Full Usage:
SequentialOrImplicitYield(debugPoint, expr1, expr2, ifNotStmt, range)
Parameters:
DebugPointAtSequential
expr1 : SynExpr
expr2 : SynExpr
ifNotStmt : SynExpr
range : range
|
|
|
|
Full Usage:
TraitCall(supportTys, traitSig, argExpr, range)
Parameters:
SynType
traitSig : SynMemberSig
argExpr : SynExpr
range : range
|
|
Full Usage:
TryFinally(tryExpr, finallyExpr, range, tryDebugPoint, finallyDebugPoint, trivia)
Parameters:
SynExpr
finallyExpr : SynExpr
range : range
tryDebugPoint : DebugPointAtTry
finallyDebugPoint : DebugPointAtFinally
trivia : SynExprTryFinallyTrivia
|
|
Full Usage:
TryWith(tryExpr, withCases, range, tryDebugPoint, withDebugPoint, trivia)
Parameters:
SynExpr
withCases : SynMatchClause list
range : range
tryDebugPoint : DebugPointAtTry
withDebugPoint : DebugPointAtWith
trivia : SynExprTryWithTrivia
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
While(whileDebugPoint, whileExpr, doExpr, range)
Parameters:
DebugPointAtWhile
whileExpr : SynExpr
doExpr : SynExpr
range : range
|
|
Full Usage:
WhileBang(whileDebugPoint, whileExpr, doExpr, range)
Parameters:
DebugPointAtWhile
whileExpr : SynExpr
doExpr : SynExpr
range : range
|
|
|
|
|