repoFacepunch.ExpressionStringscancel
126 Commits over 1,795 Days - 0.00cph!
Added __FILE__, __LINE__, __COL__
Look for properties when handling json constructors
Support implicitly converting T to Nullable<T>
Upgraded Newtonsoft.Json
Added ParameterCollection.AllUsedParameterTypes
Support for in parameters
Whitelist attribute inherits
Fixed writing float / double special values
Smarter enum argument parsing
Fixed bug with calling generic methods with optional parameters
Fixed struct comparisons with null
Fixed possible invalid cast exception when checking for cached func
Fixed case where the wrong converter will be looked up
Added generic type definition support to TypeToString
Can now specify aliases for parameters when converting to C#
Fixed generating conversion of a negated value
Fixed LookupType with throwIfNotFound: true
Fixed TypeToString(typeof(void))
Fixed not being able to Whitelist structs
Added optional allowInInherited bool to IParameterCollection.Set
Added support for simple constructors for structs
Support for parameters being explicitly specified
Better exceptions on invalid operators
Added optional default to ParameterCollection.Get
Cached script funcs now need to match alias definitions
Added failing test related to whitelist propagation
Keep inner exception stack trace when parsing
Fixed whitelist propagation through interfaces
Avoid allocation in ParameterCollection.AddDependant()
Added failing test for tr-TR culture
Added Facepunch.Parse dll
Fixed parse error in tr-TR culture
Added IScriptFunc.IsCompiled
Fixed ParameterCollection._dependants leak
Added Clear() and Reset() methods to ParameterCollectionPool
Whitelisted methods can now be conditional
Better exception handling
Changed how source locations are accessed
Record used aliases when compiling
Enumerating a ParameterCollection will now list inherited keys
Added ParameterCollection.GetAliasExpression
Fixed conversion issue with literals read from json
Fixed nested type name serialization
Added workaround for constant expressions
Upgraded to .net 4.5.2, added IL2CPP build configuration
Fixed inital pool population not being re-pooled
String interpolation escaping is much more robust
Finished off parameter collection pooling
Added ParameterCollection.CreateClosure(func), HasAliveReferences()
Added ParameterCollectionPool
Fixed newlines in interpolated strings
ScriptFunc line numbers
Parameter collection access optimisation
Added Action<T> overload for ExpressionToString
Better strategy for repeated expressions
Smarter handing of repeated expressions that always execute
Added failing tests for value type conditional member access
Finished off null coalescing support
Added NullCoalescing grammar / tests
Null coalescing implementation
Added NullConditional tests
Parameter accesses now always get turned into local variables
WIP support for null conditional member access / method call / indexing
Added special case for pure methods