internal static ulong EncodeToLong(uint sourceCodePosition, FlexpressionId flexpressionId)
        {
            var id = flexpressionId.UnderlyingValue;

            if (id == 0)
            {
                return(0);
            }

            ulong pos = sourceCodePosition;

            pos <<= 32;

            return(pos | id);
        }
        protected FlexpressionBrick(IFlexpressionAlgebra algebra)
        {
            Id = FlexpressionId.Generate();

            Algebra = algebra ?? FXB.DefaultAlgebra;
        }
 private ParsingResultCacheKey(uint sourceCodePosition, FlexpressionId flexpressionId)
 {
     SourceCodePosition = sourceCodePosition;
     FlexpressionId     = flexpressionId;
 }