|
Class: ParserFlags
Object
|
+--ParserFlags
- Package:
- stx:libcomp
- Category:
- System-Compiler
- Version:
- rev:
1.158
date: 2018/05/11 12:21:21
- user: stefan
- file: ParserFlags.st directory: libcomp
- module: stx stc-classLibrary: libcomp
compiler flags (used to be defined in Scanner and Parser) have been extracted for easier
individual-method customization (using ST as scripting).
The class side provides correspondingly-named variables, which hold the default values.
howTo_fileInVSE:
ParserFlags allowSTVExtensions:true.
ParserFlags allowSTVPrimitives:true.
ParserFlags allowSTXEOLComments:false.
for stx debugging:
STCKeepCIntermediate := true
accessing-compilation control
-
allowExtensionsToPrivateClasses
-
-
allowExtensionsToPrivateClasses: aBoolean
-
-
allowPossibleSTCCompilationProblems
-
self allowPossibleSTCCompilationProblems:true
self allowPossibleSTCCompilationProblems:false
self warnAboutPossibleSTCCompilationProblems
-
allowPossibleSTCCompilationProblems: aBoolean
-
-
arraysAreImmutable
-
return true if arrays and byteArrays are compiled as immutable literals
-
arraysAreImmutable: aBoolean
-
turn on/off immutable array and byteArrays literals - default is false for ST-80 compatibilty.
usage example(s):
can be added to your private.rc file:
ParserFlags arraysAreImmutable:true
ParserFlags arraysAreImmutable:false
|
-
fullLineNumberInfo
-
-
implicitSelfSends
-
return true if undefined variables with
lowercase first character are to be turned
into implicit self sends
-
implicitSelfSends: aBoolean
-
turn on/off implicit self sends
usage example(s):
Compiler implicitSelfSends:true
Compiler implicitSelfSends:false
|
-
lineNumberInfo
-
-
lineNumberInfo: aSymbol
-
-
stringsAreImmutable
-
return true if strings are immutable literals
-
stringsAreImmutable: aBoolean
-
turn on/off immutable string literals - default is false for ST-80 compatibilty.
usage example(s):
can be added to your private.rc file:
ParserFlags stringsAreImmutable:true
ParserFlags stringsAreImmutable:false
|
accessing-per method flags
-
disableFlag: flagName forClass: class selector: selector
-
remember that warnings named flagName (such as #warnUnusedVars)
are disabled for a particular method.
Sent if user wants to disable warnings in the future
(try defining a method with an unused var, to see)
-
isFlag: flagName enabledForClass: class selector: selector
-
return true, if warnings named <flagName> (such as #warnUnusedVars)
are to be suppressed for a particular method.
-
perMethodDisableWarningTimeDuration
-
when the user wants to suppress a particular warning for a particular
method, it will be only suppressed for some time duration.
After that, the suppress will automatically be removed, and normal warnings
are issued again.
-
reenableAllSuppressedFlags
-
turn off any suppressed warnings
accessing-stc compilation control
-
bccTop: aPath
-
windows only: define the borland-C installation directory.
must contain bin\bcc32.exe and include.
Typically, something like 'C:\borland\bcc55'
-
ccCompilationOptions
-
-
ccCompilationOptions: aString
-
-
ccPath
-
-
ccPath: aSymbol
-
-
libDirectory
-
-
libDirectory: aString
-
-
libPath
-
-
libPath: aString
-
-
linkArgs
-
-
linkArgs: aString
-
-
linkCommand
-
-
linkCommand: aString
-
-
linkSharedArgs
-
-
linkSharedArgs: aString
-
Modified (format): / 28-02-2012 / 13:34:58 / cg
-
makeCommand
-
-
makeCommand: aString
-
-
sdkTop: aPath
-
windows only: define the SDK top directory.
must include folder with windows header files.
Typically something like 'C:\Program Files\Microsoft SDKs\Windows\v6.0A'
-
searchedLibraries
-
-
searchedLibraries: aString
-
-
stcCompilation
-
-
stcCompilation: aSymbol
-
-
stcCompilationDefines
-
-
stcCompilationDefines: aString
-
-
stcCompilationIncludes
-
-
stcCompilationIncludes: aString
-
-
stcCompilationOptions
-
-
stcCompilationOptions: aString
-
-
stcKeepCIntermediate
-
-
stcKeepCIntermediate: aBoolean
-
STCKeepCIntermediate := true.
STCKeepCIntermediate := false.
-
stcKeepOIntermediate
-
-
stcKeepOIntermediate: aBoolean
-
STCKeepOIntermediate := true.
STCKeepOIntermediate := false.
-
stcKeepSTIntermediate
-
STCKeepSTIntermediate := true.
STCKeepSTIntermediate := false.
-
stcKeepSTIntermediate: aBoolean
-
STCKeepSTIntermediate := true.
STCKeepSTIntermediate := false.
-
stcModulePath
-
the folder, where temporarily compiled modules are created by stc.
Used to be inside the bin-directory, but that did not work for readonly/shared
st/x installations (i.e. running stx from a mounted dbg).
Therefore, this is now in the workspace (where the snapshot image resudes as well)
Notice:
this ought to be a persistent folder (at least as along as any
snapshot image is present, which refers to any module there.
As we cannot (currently) scan snapshots, this is somewhat tricky.
-
stcModulePath: aPath
-
set the path to the directory, where temporary modules are created.
Obsolete now, as this should not be set from the outside,
but instead rely totally on the userPreferences.
-
stcPath
-
-
stcPath: aPath
-
-
useBorlandC
-
true if borland compiler should be used
-
useClang
-
true if clang compiler should be used
-
useCompilerDefine: aCompilerDefine
-
enforce a particular compiler to be used (independent from
what the system was compiled with)
-
useGnuC
-
true if gnu-c compiler should be used
-
useMingw32
-
true if mingw compiler should be used
-
useMingw64
-
true if mingw compiler should be used
-
useVisualC
-
true if visual-c compiler should be used
-
usedCompiler
-
dfn = DefineForLCC ifTrue:[ ^'lcc'].
usage example(s):
-
usedCompilerDefine
-
return the define to be used for the compiler toolchain.
By default, the toolchain with which stx itself was compiled is used (getCCDefine);
can be overwritten by setting ForcedCompiler
usage example(s):
ForcedCompiler := DefineForCLANG.
self usedCompilerDefine.
ForcedCompiler := nil.
self usedCompilerDefine.
|
-
vcTop: aPath
-
windows only: define the visual-C top directory.
must contain bin\cl.exe and include.
Typically, something like 'C:\Program Files\Microsoft Visual Studio 10.0\VC'
-
withSTCCompilation: howSymbol do: aBlock
-
accessing-syntax-control
-
allowArrayIndexSyntaxExtension
-
experimental
usage example(s):
self allowArrayIndexSyntaxExtension:true
self allowArrayIndexSyntaxExtension:false
self allowArrayIndexSyntaxExtension
|
-
allowArrayIndexSyntaxExtension: aBoolean
-
experimental
usage example(s):
self allowArrayIndexSyntaxExtension:true
self allowArrayIndexSyntaxExtension:false
|
-
allowAssignmentToBlockArgument
-
-
allowAssignmentToBlockArgument: aBoolean
-
-
allowAssignmentToMethodArgument
-
-
allowAssignmentToMethodArgument: aBoolean
-
-
allowAssignmentToPoolVariable
-
-
allowAssignmentToPoolVariable: aBoolean
-
-
allowDollarInIdentifier
-
return true, if $-characters are allowed in identifiers.
Notice, that dollars are NEVER allowed as the first character in an identifier
(because they are interpreted as character-constant then).
-
allowDollarInIdentifier: aBoolean
-
this allows turning on/off $-characters in identifiers.
Notice, that dollars are NEVER allowed as the first character in an identifier.
If turned off (the default), dollars are not allowed in identifiers,
but instead are scanned as character-constant prefix.
If turned on, dollars in identifiers are allowed, while extra
dollars are still scanned as constant character prefix.
If you have to fileIn old VW-Vsn2.x classes, turn this off
before filing them in; i.e.:
Compiler allowDollarInIdentifiers:false
-
allowDolphinExtensions
-
return true, if ##(..) computed literals are allowed
-
allowDolphinExtensions: aBoolean
-
this allows turning on/off support for computed arrays ##(..) as in dolphin.
If you want to fileIn Dolphin classes, enable this with:
Compiler allowDolphinComputedArrays:true
usage example(s):
self allowDolphinExtensions:true
self allowDolphinExtensions:false
|
-
allowEmptyStatements
-
return true, if empty statements are allowed (two .'s in a row).
Notice, that stc cannot (yet) handle those.
-
allowEmptyStatements: aBoolean
-
turn on/off, if empty statements are allowed (two .'s in a row).
Notice, that stc cannot (yet) handle those.
-
allowExtendedBinarySelectors
-
experimental extended selectors extensions
usage example(s):
ParserFlags allowExtendedBinarySelectors
ParserFlags allowExtendedBinarySelectors:false
ParserFlags allowExtendedBinarySelectors:true
|
-
allowExtendedBinarySelectors: aBoolean
-
experimental syntay extensions
-
allowExtendedSTXSyntax
-
experimental syntay extensions
-
allowExtendedSTXSyntax: aBoolean
-
experimental syntay extensions
usage example(s):
self allowExtendedSTXSyntax:true
'a\tb' inspect.
'a\u1616b' inspect.
self allowExtendedSTXSyntax:false
|
-
allowFixedPointLiterals
-
return true, if nnnsn (FixedPoint) literals are allowed
-
allowFixedPointLiterals: aBoolean
-
enable/disable, if nnnsn (FixedPoint) literals are allowed
-
allowFunctionCallSyntaxForBlockEvaluation
-
experimental
-
allowFunctionCallSyntaxForBlockEvaluation: aBoolean
-
experimental
-
allowHashAsBinarySelector
-
-
allowHashAsBinarySelector: aBoolean
-
self allowHashAsBinarySelector:true
self allowHashAsBinarySelector:false
-
allowJavaScriptConst
-
return true, if const is allowed and treated as a keyword (in JavaScript)
-
allowJavaScriptConst: aBoolean
-
true, if const is allowed and treated as a keyword (in JavaScript)
-
allowLiteralNameSpaceSymbols
-
return true, if literal nameSpace symbols are allowed (#foo::bar) are allowed
-
allowLiteralNameSpaceSymbols: aBoolean
-
controls, if literal nameSpace symbols are allowed (#foo::bar) are allowed
-
allowLocalVariableDeclarationWithInitializerExpression
-
experimental
-
allowLocalVariableDeclarationWithInitializerExpression: aBoolean
-
experimental
-
allowNationalCharactersInIdentifier
-
return true, if national characters (diaresis etc.) are allowed in identifiers
-
allowNationalCharactersInIdentifier: aBoolean
-
this allows turning on/off recognition of national characters (diaresis etc.) in identifiers.
Use this ONLY to file in some non-ANSI ST/V code
usage example(s):
ParserFlags allowNationalCharactersInIdentifier:true
|
-
allowOldStyleAssignment
-
return true, if underscore-assignment (pre ST-80v4 syntax) are to be allowed
-
allowOldStyleAssignment: aBoolean
-
this allows turning on/off recognition of underscore-assignment (pre ST-80v4 syntax).
You must turn this off, if code with variables named '_' is to be filedIn
-
allowParagraphInIdentifier
-
return true, if §-characters are allowed in identifiers (treated as letter)
-
allowParagraphInIdentifier: aBoolean
-
this allows turning on/off §-characters in identifiers.
-
allowPeriodInSymbol
-
return true, if periods are allowed in a symbol literal #foo.bar.
Needed to parse some old ST80/Squeak code
-
allowPeriodInSymbol: aBoolean
-
control, if periods are allowed in a symbol literal #foo.bar.
Needed to parse some old ST80/Squeak code
usage example(s):
self allowPeriodInSymbol:true.
self assert:( Parser parseExpression:' #foo.bar.baz. ' ) value == #'foo.bar.baz'.
self allowPeriodInSymbol:false.
self assert:( Parser parseExpression:' #foo.bar.baz. ' ) value == #'foo'.
|
-
allowQualifiedNames
-
return true, if #{..} qualified names are allowed
-
allowQualifiedNames: aBoolean
-
this allows turning on/off support for qualifiedNames #{ .., } as in vw3.
If you want to fileIn vw3 or later classes, enable this with:
Compiler allowQualifiedNames:true
Notice, that qualified names are not really supported semantically
(they are parsed, but treated like regular globals)
usage example(s):
self allowQualifiedNames:true
self allowQualifiedNames:false
|
-
allowReservedWordsAsSelectors
-
return true, if self, super, thisContext, nil, true and false are to be allowed
as unary message selectors.
-
allowReservedWordsAsSelectors: aBoolean
-
enable/disable, if self, super, thisContext, nil, true and false are to be allowed
as unary message selectors.
usage example(s):
self allowReservedWordsAsSelectors:true
self allowReservedWordsAsSelectors:false
|
-
allowSTVExtensions
-
return true, if support for ST/V syntax extensions is enabled.
-
allowSTVExtensions: aBoolean
-
this allows turning on/off support for ST/V extensions:
If you want to fileIn ST/V classes, enable this with:
Compiler allowSTVComputedArrays:true
usage example(s):
ParserFlags allowSTVExtensions:true
ParserFlags allowSTVExtensions:false
|
-
allowSTVPrimitives
-
return true, if support for ST/V primitives is enabled.
-
allowSTVPrimitives: aBoolean
-
this allows turning on/off support for ST/V primitives
usage example(s):
ParserFlags allowSTVPrimitives:true
|
-
allowSTXDelimiterComments
-
token delimited comments;
these are multiline comments of the form:
''>>TOKEN
... anything, including double quotes
TOKEN>>''
(the '' being a double quote in the above)
Such comments are especially useful to comment pieces of sample code, which may
contain another comment in it, but you don't want to make them all EOL comments
(which are an ST/X speciality also, by the way).
Be aware, that no other smalltalk supports this, so your code becomes harder to port, if you use it.
-
allowSTXDelimiterComments: aBoolean
-
enable token delimited comments;
these are multiline comments of the form:
''>>TOKEN
... anything, including double quotes
TOKEN>>''
(the '' being a double quote in the above)
Such comments are especially useful to comment pieces of sample code, which may
contain another comment in it, but you don't want to make them all EOL comments
(which are an ST/X speciality also, by the way).
Be aware, that no other smalltalk supports this, so your code becomes harder to port, if you use it.
usage example(s):
self allowSTXDelimiterComments:true
self allowSTXDelimiterComments:false
|
-
allowSTXEOLComments
-
are ST/X end-of-line comments allowed?
-
allowSTXEOLComments: aBoolean
-
are ST/X end-of-line comments allowed?
usage example(s):
self allowSTXEOLComments:true
self allowSTXEOLComments:false
|
-
allowSTXExtendedArrayLiterals
-
are scheme-style typed literal arrays allowed?
-
allowSTXExtendedArrayLiterals: aBoolean
-
are scheme-style typed literal arrays allowed?
usage example(s):
self allowSTXExtendedArrayLiterals:true
self allowSTXExtendedArrayLiterals:false
|
-
allowSignedByteArrayElements
-
return true, if byteArray elements are allowed to be negative.
-
allowSignedByteArrayElements: aBoolean
-
controls, if byteArray elements are allowed to be negative.
-
allowSqueakExtensions
-
return true, if support for squeak extensions
computed arrays { .., }
c/java style arguments in message sends rec foo(arg1, ... argN)
is enabled.
-
allowSqueakExtensions: aBoolean
-
this allows turning on/off support for squeak extensions:
computed arrays { .., }
c/java style arguments in message sends rec foo(arg1, ... argN)
If you want to fileIn Squeak classes, enable this with:
Compiler allowSqueakComputedArrays:true
usage example(s):
self allowSqueakExtensions:true
self allowSqueakExtensions:false
|
-
allowSqueakPrimitives
-
return true, if support for squeak primitives is enabled.
-
allowSqueakPrimitives: aBoolean
-
this allows turning on/off support for squeak primitives
-
allowSymbolsStartingWithDigit
-
return true, if a symbol is allowed to start with a digit
i.e. as in #2D.
This seems to be ok in new Squeak/Pharo versions
-
allowSymbolsStartingWithDigit: aBoolean
-
controls if a symbol is allowed to start with a digit
i.e. as in #2D.
This seems to be ok in new Squeak/Pharo versions
-
allowUnderscoreInIdentifier
-
return true, if underscores are allowed in identifiers
-
allowUnderscoreInIdentifier: aBoolean
-
this allows turning on/off underscores in identifiers.
If turned off (the default), underscores are not allowed in identifiers,
but instead scanned as assignment character (old ST/80 syntax).
If turned on, underscores are in identifiers are allowed, while extra
underscores are still scanned as assignment.
If you have to fileIn old VW-Vsn2.x classes,
turn them off with:
Compiler allowUnderscoreInIdentifiers:false
-
allowUnicodeCharacters
-
-
allowUnicodeCharacters: aBoolean
-
-
allowUnicodeStrings
-
-
allowUnicodeStrings: aBoolean
-
-
allowVisualAgeESSymbolLiterals
-
return true, if ##symbols are allowed (treated like symbols)
-
allowVisualAgeESSymbolLiterals: aBoolean
-
if on, visualAge's ##symbols are allowed (treated like symbols)
-
allowVisualAgePrimitives
-
return true, if support for V'Age primitives is enabled.
-
allowVisualAgePrimitives: aBoolean
-
this allows turning on/off support for V'Age primitives
-
allowVisualWorksMethodAnnotations
-
return true, if support for V'Works extended primitive syntax for method annotations.
-
allowVisualWorksMethodAnnotations: aBoolean
-
turn on/off support for V'Works extended primitive syntax for method annotations.
-
warnAssignmentToBlockArgument
-
-
warnAssignmentToBlockArgument: aBoolean
-
-
warnAssignmentToMethodArgument
-
-
warnAssignmentToMethodArgument: aBoolean
-
-
warnAssignmentToPoolVariable
-
-
warnAssignmentToPoolVariable: aBoolean
-
accessing-warning-control
-
warnAboutBadComments
-
controls generation of warning messages about empty comments
-
warnAboutBadComments: aBoolean
-
controls generation of warning messages about empty comments
-
warnAboutNonLowercaseLocalVariableNames
-
controls generation of warning messages about wrong variable names
-
warnAboutNonLowercaseLocalVariableNames: aBoolean
-
controls generation of warning messages about wrong variable names
-
warnAboutPeriodInSymbol
-
-
warnAboutPeriodInSymbol: aBoolean
-
-
warnAboutPossibleSTCCompilationProblems
-
-
warnAboutPossibleSTCCompilationProblems: aBoolean
-
-
warnAboutPossiblyUnimplementedSelectors
-
-
warnAboutPossiblyUnimplementedSelectors: aBoolean
-
-
warnAboutReferenceToPrivateClass
-
controls generation of warning messages when a private class is referenced
-
warnAboutReferenceToPrivateClass: aBoolean
-
controls generation of warning messages when a private class is referenced
-
warnAboutShortLocalVariableNames
-
controls generation of warning messages about short variable names
-
warnAboutShortLocalVariableNames: aBoolean
-
controls generation of warning messages about short variable names
-
warnAboutUnknownCharacterEscapesInJavaScriptStringConstant
-
things like '\c:foo' instead of '\\c:foo'
-
warnAboutUnknownCharacterEscapesInJavaScriptStringConstant: aBoolean
-
things like '\c:foo' instead of '\\c:foo'
-
warnAboutVariableNameConventions
-
controls generation of warning messages about wrong variable names
-
warnAboutVariableNameConventions: aBoolean
-
controls generation of warning messages about wrong variable names
-
warnAboutWrongVariableNames
-
controls generation of warning messages about wrong variable names
-
warnAboutWrongVariableNames: aBoolean
-
controls generation of warning messages about wrong variable names
-
warnCommonMistakes
-
return true, if common beginners mistakes are to be warned about
-
warnCommonMistakes: aBoolean
-
this allows turning on/off warnings about common beginners mistakes.
Those are not really errors in the strict sense, but often lead to
run time errors later.
Examples are: expr or:expr2, where expr2 is not a block.
If you get bored by those warnings, turn them off by adding
a line as:
ParserFlags warnCommonMistakes:false
in your 'private.rc' file
-
warnDollarInIdentifier
-
return true, if $-characters in identifiers are to be warned about
-
warnDollarInIdentifier: aBoolean
-
this allows turning on/off warnings about $-characters in identifiers.
You may find those warnings useful, to make certain that your code
is portable to other Smalltalk versions, which do not allow this
(i.e. VW releases 2.x and maybe others).
Notice, that dollars are NEVER allowed as the first character in an identifier.
If you get bored by those warnings, turn them off by adding
a line as:
ParserFlags warnDollarInIdentifier:false
in your 'private.rc' file
-
warnHiddenVariables
-
controls generation of warning messages about hiding variables by locals
-
warnHiddenVariables: aBoolean
-
controls generation of warning messages about hiding variables by locals
-
warnInconsistentReturnValues
-
return true, if compiler should warn about inconsitent (boolean / non-boolean)
return values
-
warnInconsistentReturnValues: aBoolean
-
constrols if the compiler should warn about inconsitent (boolean / non-boolean)
return values
-
warnOldStyleAssignment
-
return true, if underscore-assignment (pre ST-80v4 syntax) are to be warned about
-
warnOldStyleAssignment: aBoolean
-
this allows turning on/off warnings about underscore-assignment (pre ST-80v4 syntax).
If you get bored by those warnings, turn them off by adding
a line as:
ParserFlags warnOldStyleAssignment:false
in your 'private.rc' file
-
warnParagraphInIdentifier
-
return true, if §-characters in identifiers are to be warned about
-
warnParagraphInIdentifier: aBoolean
-
this allows turning on/off warnings about §-characters in identifiers.
You may find those warnings useful, to make certain that your code
is portable to other Smalltalk versions, which do not allow this
-
warnPlausibilityChecks
-
controls generation of warning messages about plausibility checks (possible precedence, etc.)
-
warnPlausibilityChecks: aBoolean
-
controls generation of warning messages about plausibility checks (possible precedence, etc.)
-
warnPossibleIncompatibilities
-
return true, if possible incompatibilities (with other ST systems)
are to be warned about
-
warnPossibleIncompatibilities: aBoolean
-
this turns warnings about possible incompatibilities (with other ST systems)
on or off.
If you get bored by those warnings, turn them off by adding
a line as:
ParserFlags warnPossibleIncompatibilities:false
in your 'private.rc' file.
-
warnSTXSpecials
-
return true, if ST/X specials are to be warned about
-
warnSTXSpecials: aBoolean
-
this allows turning on/off warnings about stx specials.
If you get bored by those warnings, turn them off by adding
a line as:
ParserFlags warnSTXSpecials:false
in your 'private.rc' file
-
warnUnderscoreInIdentifier
-
return true, if underscores in identifiers are to be warned about
-
warnUnderscoreInIdentifier: aBoolean
-
this allows turning on/off warnings about underscores in identifiers.
You may find those warnings useful, to make certain that your code
is portable to other smalltalk versions, which do not allow this
(i.e. VW releases 2.x).
If you get bored by those warnings, turn them off by adding
a line as:
ParserFlags warnUnderscoreInIdentifier:false
in your 'private.rc' file
-
warnUnusedVars
-
controls generation of warning messages about unued method variables
-
warnUnusedVars: aBoolean
-
controls generation of warning messages about unued method variables
-
warnings
-
return true, if any warnings are to be shown
-
warnings: aBoolean
-
this allows turning on/off all warnings; the default is on.
You can turn off warnings in your 'private.rc' file with
ParserFlags warnings:false
usage example(s):
ParserFlags warnings
ParserFlags warnings:true
ParserFlags warnings:false
|
class initialization
-
initialize
-
st80-vms dollars in identifiers
usage example(s):
-
initializeSTCFlagsForTopDirectory: topDirArg
-
topDirArg must be the stx directory (where stc directory with stc-executable is found)
notice: for now, can only initialize for borland+windows or linux;
visualC setup still fails.
usage example(s):
ParserFlags initializeSTCFlagsForTopDirectory:'../..'
ParserFlags initialize
|
instance creation
-
new
-
accessing
-
fullLineNumberInfo
-
-
lineNumberInfo
-
-
lineNumberInfo: something
-
accessing-compilation control
-
allowExtensionsToPrivateClasses
-
-
allowExtensionsToPrivateClasses: aBoolean
-
-
allowPossibleSTCCompilationProblems
-
-
allowPossibleSTCCompilationProblems: aBoolean
-
-
arraysAreImmutable
-
-
arraysAreImmutable: aBoolean
-
-
flattenVisualWorksNamespaces
-
-
stringsAreImmutable
-
-
stringsAreImmutable: aBoolean
-
accessing-stc compilation control
-
ccCompilationOptions
-
self ccCompilationOptions
-
ccCompilationOptions: something
-
-
ccPath
-
self ccPath
-
ccPath: something
-
-
implicitSelfSends
-
-
implicitSelfSends: aBoolean
-
-
libPath
-
self libPath
-
libPath: aString
-
-
linkArgs
-
self linkArgs
-
linkArgs: aString
-
-
linkCommand
-
self linkCommand
-
linkCommand: aString
-
-
linkSharedArgs
-
-
linkSharedArgs: aString
-
-
searchedLibraries
-
-
searchedLibraries: aString
-
-
stcCompilation
-
-
stcCompilation: something
-
-
stcCompilationDefines
-
-
stcCompilationDefines: something
-
-
stcCompilationIncludes
-
self stcCompilationIncludes
-
stcCompilationIncludes: something
-
-
stcCompilationOptions
-
-
stcCompilationOptions: something
-
-
stcKeepCIntermediate
-
-
stcKeepCIntermediate: something
-
-
stcKeepOIntermediate
-
-
stcKeepOIntermediate: something
-
-
stcKeepSIntermediate
-
^ true
-
stcKeepSTIntermediate
-
-
stcKeepSTIntermediate: something
-
-
stcModulePath
-
-
stcModulePath: aPath
-
set the path to the directory (for an individual compilation context).
Obsolete now, as this should not be set from the outside,
but instead rely totally on the userPreferences.
-
stcPath
-
-
stcPath: aPath
-
accessing-syntax-control
-
allowArrayIndexSyntaxExtension
-
-
allowArrayIndexSyntaxExtension: aBoolean
-
-
allowAssignmentToBlockArgument
-
-
allowAssignmentToBlockArgument: aBoolean
-
-
allowAssignmentToMethodArgument
-
-
allowAssignmentToMethodArgument: aBoolean
-
-
allowAssignmentToPoolVariable
-
-
allowAssignmentToPoolVariable: aBoolean
-
-
allowCaretAsBinop
-
-
allowCaretAsBinop: aBoolean
-
-
allowCharacterEscapes
-
-
allowCharacterEscapes: aBoolean
-
-
allowDollarInIdentifier
-
-
allowDollarInIdentifier: aBoolean
-
-
allowDolphinExtensions
-
-
allowDolphinExtensions: aBoolean
-
-
allowDomainVariables
-
-
allowDomainVariables: aBoolean
-
-
allowEmptyStatements
-
-
allowEmptyStatements: aBoolean
-
-
allowExtendedBinarySelectors
-
-
allowExtendedBinarySelectors: aBoolean
-
-
allowExtendedSTXSyntax
-
-
allowExtendedSTXSyntax: aBoolean
-
-
allowFixedPointLiterals
-
-
allowFixedPointLiterals: aBoolean
-
-
allowFunctionCallSyntaxForBlockEvaluation
-
-
allowFunctionCallSyntaxForBlockEvaluation: aBoolean
-
-
allowHashAsBinarySelector
-
-
allowJavaScriptConst
-
-
allowJavaScriptConst: aBoolean
-
-
allowLazyValueExtension
-
-
allowLazyValueExtension: aBoolean
-
-
allowLiteralNameSpaceSymbols
-
-
allowLiteralNameSpaceSymbols: aBoolean
-
-
allowLocalVariableDeclarationWithInitializerExpression
-
-
allowLocalVariableDeclarationWithInitializerExpression: aBoolean
-
-
allowNationalCharactersInIdentifier
-
-
allowNationalCharactersInIdentifier: aBoolean
-
-
allowOldStyleAssignment
-
return true, if underscore-assignment (pre ST-80v4 syntax) are to be allowed
-
allowOldStyleAssignment: aBoolean
-
return true, if underscore-assignment (pre ST-80v4 syntax) are to be allowed
-
allowParagraphInIdentifier
-
-
allowParagraphInIdentifier: aBoolean
-
-
allowPeriodInSymbol
-
-
allowPeriodInSymbol: aBoolean
-
-
allowQualifiedNames
-
-
allowQualifiedNames: aBoolean
-
-
allowReservedWordsAsSelectors
-
-
allowReservedWordsAsSelectors: aBoolean
-
-
allowSTVExtensions
-
return true, if support for ST/V extensions is enabled.
-
allowSTVPrimitives
-
return true, if support for ST/V primitives is enabled.
-
allowSTXDelimiterComments
-
are ST/X token-delimited comments allowed?
(see comment on class side)
-
allowSTXDelimiterComments: aBoolean
-
are ST/X token-delimited comments allowed?
(see comment on class side)
usage example(s):
ParserFlags allowSTXDelimiterComments:false
ParserFlags allowSTXDelimiterComments:true
|
-
allowSTXEOLComments
-
are ST/X end-of-line comments allowed?
-
allowSTXEOLComments: aBoolean
-
are ST/X end-of-line comments allowed?
usage example(s):
ParserFlags allowSTXEOLComments:false
ParserFlags allowSTXEOLComments:true
|
-
allowSTXExtendedArrayLiterals
-
are scheme-style typed literal arrays allowed?
-
allowSTXExtendedArrayLiterals: aBoolean
-
are scheme-style typed literal arrays allowed?
-
allowSTXFunctions
-
-
allowSignedByteArrayElements
-
-
allowSignedByteArrayElements: aBoolean
-
-
allowSqueakExtensions
-
return true, if support for squeak extensions
computed arrays { .., }
c/java style arguments in message sends rec foo(arg1, ... argN)
is enabled.
-
allowSqueakExtensions: aBoolean
-
this allows turning on/off support for squeak extensions:
computed arrays { .., }
c/java style arguments in message sends rec foo(arg1, ... argN)
-
allowSqueakPrimitives
-
return true, if support for squeak primitives is enabled.
-
allowSqueakPrimitives: aBoolean
-
this allows turning on/off support for squeak primitives
-
allowStringEscapes
-
-
allowStringEscapes: aBoolean
-
-
allowSymbolsStartingWithDigit
-
return true, if a symbol is allowed to start with a digit
i.e. as in #2D.
This seems to be ok in new Squeak/Pharo versions
-
allowSymbolsStartingWithDigit: aBoolean
-
control if a symbol is allowed to start with a digit
i.e. as in #2D.
This seems to be ok in new Squeak/Pharo versions
-
allowUnderscoreInIdentifier
-
-
allowUnderscoreInIdentifier: aBoolean
-
-
allowUnicodeCharacters
-
-
allowUnicodeCharacters: aBoolean
-
-
allowUnicodeStrings
-
-
allowUnicodeStrings: aBoolean
-
-
allowVariableReferences
-
-
allowVariableReferences: aBoolean
-
-
allowVisualAgeESSymbolLiterals
-
-
allowVisualAgeESSymbolLiterals: aBoolean
-
-
allowVisualAgePrimitives
-
return true, if support for V'Age primitives is enabled.
-
allowVisualAgePrimitives: aBoolean
-
this allows turning on/off support for V'Age primitives
-
allowVisualWorksMethodAnnotations
-
return true, if support for V'Works extended primitive syntax for method annotations.
-
allowVisualWorksMethodAnnotations: aBoolean
-
turn on/off support for V'Works extended primitive syntax for method annotations.
-
warnAssignmentToBlockArgument
-
-
warnAssignmentToBlockArgument: aBoolean
-
-
warnAssignmentToMethodArgument
-
-
warnAssignmentToMethodArgument: aBoolean
-
-
warnAssignmentToPoolVariable
-
-
warnAssignmentToPoolVariable: aBoolean
-
accessing-warning-control
-
warnAboutBadComments
-
-
warnAboutBadComments: aBoolean
-
-
warnAboutNonLowercaseLocalVariableNames
-
-
warnAboutNonLowercaseLocalVariableNames: aBoolean
-
-
warnAboutPeriodInSymbol
-
-
warnAboutPeriodInSymbol: aBoolean
-
-
warnAboutPossibleSTCCompilationProblems
-
-
warnAboutPossibleSTCCompilationProblems: aBoolean
-
-
warnAboutPossiblyUnimplementedSelectors
-
-
warnAboutPossiblyUnimplementedSelectors: aBoolean
-
-
warnAboutReferenceToPrivateClass
-
controls generation of warning messages when a private class is referenced
-
warnAboutReferenceToPrivateClass: aBoolean
-
controls generation of warning messages when a private class is referenced
-
warnAboutShortLocalVariableNames
-
-
warnAboutShortLocalVariableNames: aBoolean
-
-
warnAboutUnknownCharacterEscapesInJavaScriptStringConstant
-
-
warnAboutUnknownCharacterEscapesInJavaScriptStringConstant: aBoolean
-
-
warnAboutVariableNameConventions
-
-
warnAboutVariableNameConventions: aBoolean
-
-
warnAboutWrongVariableNames
-
-
warnAboutWrongVariableNames: aBoolean
-
-
warnCommonMistakes
-
-
warnCommonMistakes: aBoolean
-
-
warnDollarInIdentifier
-
-
warnDollarInIdentifier: aBoolean
-
-
warnHiddenVariables
-
-
warnHiddenVariables: aBoolean
-
controls generation of warning messages about hiding variables by locals
-
warnInconsistentReturnValues
-
-
warnInconsistentReturnValues: aBoolean
-
-
warnOldStyleAssignment
-
-
warnOldStyleAssignment: aBoolean
-
-
warnParagraphInIdentifier
-
-
warnParagraphInIdentifier: aBoolean
-
-
warnPlausibilityChecks
-
controls generation of warning messages about plausibility checks (possible precedence, etc.)
-
warnPlausibilityChecks: aBoolean
-
controls generation of warning messages about plausibility checks (possible precedence, etc.)
-
warnPossibleIncompatibilities
-
holds true, if possible incompatibilities (with other ST systems)
are to be warned about
-
warnPossibleIncompatibilities: aBoolean
-
holds true, if possible incompatibilities (with other ST systems)
are to be warned about
-
warnST80Directives
-
-
warnST80Directives: aBoolean
-
-
warnSTXHereExtensionUsed
-
-
warnSTXHereExtensionUsed: aBoolean
-
-
warnSTXNameSpaceUse
-
-
warnSTXNameSpaceUse: aBoolean
-
-
warnSTXSpecialComment
-
-
warnSTXSpecialComment: aBoolean
-
-
warnUndeclared
-
-
warnUndeclared: aBoolean
-
-
warnUnderscoreInIdentifier
-
-
warnUnderscoreInIdentifier: aBoolean
-
-
warnUnusedVars
-
-
warnUnusedVars: aBoolean
-
-
warnings
-
-
warnings: aBoolean
-
initialization
-
initialize
-
each instance is initially setup from the classes global defaults.
(but can be changed as required for an individual compilation run
usage example(s):
ParserFlags initialize.
self new inspect.
|
|